Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    <xsl:value-of select="@id"/>

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thank you

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •