Helpful Information
 
 
Category: XML
Displaying XML attribute using XSL

Is there a way of displaying the id number I have as an attibute of my xml page.

<atable if="1">
...
</atable>
...
...
...

Is there some way of using xml:value-of select=".id" for showing the attribute value or is this not possible through XSL?

<xsl:value-of select="@id"/>

Finally. I searched under XML attribute viewing and all other things i could think of to try and find an article that told me how to show them, but I got the same tutorials over and over again. Thank you.:)










privacy (GDPR)