Reputation: 1602
Please explain what is the use of the @ (at) symbol in XSLT with an example.
Upvotes: 25
Views: 21846
Reputation: 243449
From the XPath 1.0 W3C Spec (fifth bullet):
@* selects all the attributes of the context node
@*
is a shorthand for attribute::*
Upvotes: 10
Reputation: 272267
It represents an attribute in XPath. See here for more details.
Upvotes: 27