Re: [xsl] apolying xsl:key to similar looking node names

Subject: Re: [xsl] apolying xsl:key to similar looking node names
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Wed, 01 May 2002 21:58:35 +0200
KUMAR NINGASHETTY wrote:
Thankx for the reply .

But i have to use xsl:key in the ffollowing ormat <xsl:key name="..." match="..." use="..."/>

And that will  look for matching text() in the node but not for matching nodes that can have any text ...
I am looking for matching nodes across xml that can have text ...

Perhaps you want <xsl:key name="elements" match="*" use="name()"/>

Then
  select="key('elements',name())"
will match all elements with the same name as the
context element.


J.Pietschmann



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



Current Thread