Please explain what is the use of @ symbol in XSLT with example.
Cheers! Lokesh Yadav
Please explain what is the use of @ symbol in XSLT with example.
Cheers! Lokesh Yadav
It represents an attribute in XPath. See here for more details.
From the XPath 1.0 W3C Spec (fifth bullet):
@* selects all the attributes of the context node
@*
is a shorthand for attribute::*