Altova Mailing List Archives
>xsl-list Archive Home
>Recent entries
>Thread Prev -
>Thread Next - [xsl] Adding text to a transformed file
RE: [xsl] Get a property of another node
To:
Date: 5/28/2003 3:18:00 AM
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-listDisclaimer
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

