on 06-10-2015 11:46 AM
Hi Team,
Could anybody explain me meaning of below code -
<xsl:apply-templates select= "@*|*|text()"/>
Regards,
Rashmi Joshi
Hi Rashmi,
@*: All attributes nodes.
|: Union
*: All nodes
Text(): matches any text node
And apply- templates, apply the templates for that nodes
From
XSLT &lt;xsl:apply-templates&gt; Element
xml - What does &quot;@*|node()&quot; in a XSLT apply-template select mean? - Stack Overflow
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rashmi,
Please check the below information...
The XPath expression @* | node()
selects the union of attribute nodes (@*
) and all other types of XML nodes (node()
).
It is a shorthand for attribute::* | child::node()
.
http://www.xml.com/pub/a/2001/12/05/whitespace.html
Regards,
Srikanth Mavuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.