I am confused about XSLT apply-template statement. For example, here in w3school.
For the statements,
<xsl:template match="/"> <html> <body> <h2>My CD Collection</h2> <xsl:apply-templates/> </body> </html> </xsl:template>
my confusions are,
(1) what is the function of
<xsl:apply-templates/>? It does not contain any specific template to call. I think it will match (return) all directly child of current element (non-direct child of current node will not be returned, current node is root node), not sure whether I am correct?
(2) after all matched nodes are returned in (1), what are the next step XSLT processor will do?
(3) in this specifc sample, the root node is catalog or another higher level of root? and why?
thanks in advance,