[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Get the name of a node from another node

Subject: Get the name of a node from another node
From: Lionel Crine <crine@xxxxxxxxxxxx>
Date: Thu, 10 Jul 2003 14:39:53 +0200
xsl get node name
Hi,

I'm trying to get the name of a node from another node.

For example :

...
<index NAME="prop">
<stringindex>
...
</stringindex>
</index>
<ghostindex>
...
</ghostindex>


I match the ghostindex like that :


<xsl:template match="ghostindex">
<xsl:value-of
select="preceding-sibling::index[@NAME='Pro']/stringindex/?"/>stringindex</xsl:attribute> --> I don't know what to write to get the name of the string index (which is stringindex)
</xsl:template>



thanks


Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.