Subject: access attribute in the parent element.
From: srirangababu thimmaiah <babuxsl@xxxxxxxxx>
Date: Tue, 20 Jun 2000 18:32:58 -0700 (PDT)
|
How can i get the value of an attribute from a parent
element/from an element in the top of the hirarchy.
<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?
Regards.
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|