[xsl] Get the name of a node from another node

Subject: [xsl] Get the name of a node from another node
From: Lionel Crine <crine@xxxxxxxxxxxx>
Date: Thu, 10 Jul 2003 14:39:53 +0200
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