This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This above code will print "Hello" as output. But will it also print content of other child elements content and comment ?
If I have following code
Will this code print following
Content directly under page element
My confusion is, when we use apply-templates, does it apply to content directly under element or it applies to content within child element also ? By that I mean, if I have not specified template rule for a child element (eg content element in this case), will apply-templates for parent element (page element in this case) also print content of "content" element ? OR will it just print content directly under it and for child element for which template rule is specified (eg title element in this case) ?
I dont know how to set up XSLT environment locally thats why I am unable to test it. So I am putting question here to understand syntax in xslt.