xsl-list
[Top] [All Lists]

Get the name of a node from another node

2003-07-10 05:39:53
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[(_at_)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



<Prev in Thread] Current Thread [Next in Thread>