This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: access attribute in the parent element.
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: access attribute in the parent element.
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 22 Jun 2000 11:57:37 +0100
- Reply-To: xsl-list at mulberrytech dot com
> How can i get the value of an attribute from a parent
> element
select="../@first"
Mike Kay
>
> <NAME first="john" last="mike">
> <COUNTRY><COUNTRY>
> </NAME>
>
> <xsl:templte match "NAME">
> <xsl:apply-templates/>
> </xsl:template>
>
> <xsl:template match="COUNTRY">
> <xsl:value of select=??, i want value of first>
> </xsl:template?
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list