Do you know why we use select="@|node()" in the <xsl:apply-templates/> element on Identity template? What will happen if we use <xsl:apply-templates/> without select attribute?
Answer / Dileep Kumar Verma
Using select="@|node()" in the <xsl:apply-templates/> element on the Identity template means that it applies templates to all attributes and child nodes of the current node. If we omit the select attribute, it will only apply templates to the elements, not the attributes or text content. When using the Identity Template, if no select attribute is specified, it defaults to matching the entire input document.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain various roles of xslt?
what is difference between mail sendig in .net 1.1 and .net 2.0
Define XPathNavigator class?
What is xslt explain with example?
What is xsd file?
Explain about remote call procedure?
How do I convert an xml file to powerpoint?
How to use filtering function in XSLT?
Why is WEB.XML file used?
How to use XML DOM model on client side using JavaScript.
Is xml better than html?
What is the mime type definition for atom files?