This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.