Re: [xsl] value of parent tag

Subject: Re: [xsl] value of parent tag
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Wed, 23 May 2001 11:19:03 +0200
On Wed, May 23 '01 at 10:46, Daniel Bauke wrote:
> and i need to know 'key' value of a parent tag in each
> particular <cc/>. on the example in 1st and 2nd <cc/> it's 
> "abc", in 3rd and 4th - "cde".
Have you tried:

<xsl:template match="cc">
 ...
 <xsl:value-of select="../@key" />
 ...
</xsl:template>

    Goetz.

Attachment: pgp00007.pgp
Description: PGP signature

Current Thread