RE: Get a property of another node
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: 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format