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?



Do you know why we use select="@|node()" in the <xsl:apply-templates/> element on Id..

Answer / Dileep Kumar Verma

Using select=&quot;@|node()&quot; 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

Post New Answer

More XML XSLT RSS Interview Questions

Explain various roles of xslt?

1 Answers  


what is difference between mail sendig in .net 1.1 and .net 2.0

1 Answers  


Define XPathNavigator class?

1 Answers  


What is xslt explain with example?

1 Answers  


What is xsd file?

1 Answers  


Explain about remote call procedure?

1 Answers  


How do I convert an xml file to powerpoint?

1 Answers  


How to use filtering function in XSLT?

1 Answers  


Why is WEB.XML file used?

4 Answers   T3 Softwares,


How to use XML DOM model on client side using JavaScript.

1 Answers  


Is xml better than html?

1 Answers  


What is the mime type definition for atom files?

1 Answers  


Categories