XSLT: how to get either specific attributes or all elements under a parent element

Discussion in 'XML' started by hisachu, Sep 1, 2010.

  1. hisachu

    hisachu

    Joined:
    Sep 1, 2010
    Messages:
    1
    When I put the following it will not return any data.
    <xsl:template match="@abc">
    <xsl:attribute name="abc">
    <xsl:value-of select="."/>
    </xsl:attribute>
    </xsl:template>

    Pls help.
    hisachu, Sep 1, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kosaraju.puneeth@gmail.com
    Replies:
    0
    Views:
    477
    kosaraju.puneeth@gmail.com
    Oct 26, 2005
  2. Martin Plantec
    Replies:
    3
    Views:
    568
    Martin Plantec
    Oct 28, 2005
  3. Gerald Aichholzer
    Replies:
    2
    Views:
    2,481
    Gerald Aichholzer
    Jun 27, 2006
  4. Aaron Davies
    Replies:
    4
    Views:
    4,201
    The Magpie
    Feb 11, 2009
  5. Kabindra
    Replies:
    3
    Views:
    175
    David Mark
    Jan 21, 2010
Loading...

Share This Page