Interviewer And Interviewee Guide

XSLT Interview Question:

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?

Submitted by: Administrator
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.
Submitted by:

Read Online XSLT Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.