Armen,
what should be the select expression in the xsl:for-each? When I use
xsl:for-each select="Node/*", nothing is returned in the output.
Thanks,
Quote:
quote:Originally posted by armmarti
First of all, change "//Node" to "Node" in the match attribute of the xsl:template.
Second, you didn't get "case2" and "case4" since the "name" function returns the element name of the first node in the argument node-set. You can use xsl:for-each to get all element names in the node set.
Regards,
Armen
|