I have an xml data which has shown below.
<Roll NO="4620" CLASSNO="0" ID="0" DID="0" REVSN="0" DNO="3" ></Roll>
<Roll NO="4630" CLASSNO="0" ID="0" DID="0" REVSN="0" DNO="3"></Roll>
I want to iterate through the attributes without specifying the name using XSLT.
Any way to do it?
You can use this XPath
@*to get all attributes, e.g.:XML:
XSLT:
Output: