RE: [xsl] Get a property of another node

Subject: RE: [xsl] Get a property of another node
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 28 May 2003 14:17:54 +0300
Hi,

Use the parent axis <http://www.w3.org/TR/xpath#axes> to walk to ROW and then attribute axis to select the num attribute.

Cheers,

Jarno - Aiboforcen: The Shepherd's Deathline (Fleash Field remix)

-----Original Message-----
From: ext Molnár Ágnes [mailto:agi@xxxxxxxxxxxxxxxxx]
Sent: 28 May, 2003 14:08
To: xsl
Subject: [xsl] Get a property of another node


Hello,

I have the following XML:

<page>
    <ROWSET>
        <ROW num='1'>
            <other>value</other>
        </ROW>
        <ROW num='2'>
            <other>anyothervalue</value>
        </ROW>
    </ROWSET>
</page>

When I'm in the "other" node with my XSL, I need the "num" of the ROW. How can I get this propery with an xsl:value-of?
Thanks for all,

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread