25

Please explain what is the use of the @ (at) symbol in XSLT with an example.

0

2 Answers 2

27

It represents an attribute in XPath. See here for more details.

0
10

From the XPath 1.0 W3C Spec (fifth bullet):

@* selects all the attributes of the context node

@* is a shorthand for attribute::*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.