InterviewSolution
Saved Bookmarks
| 1. |
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» This is an extension or follow up questions of previous XSLT question about Identity template. we use select="@|node() to copy all child element and any attribute.if we don't use that than <XSL:apply-templates/> will default on select="node()" which will copy child NODES EXCEPT attributes. This is an extension or follow up questions of previous XSLT question about Identity template. we use select="@|node() to copy all child element and any attribute.if we don't use that than <xsl:apply-templates/> will default on select="node()" which will copy child nodes except attributes. |
|