This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: <xsl:for-each select> and acessing the parent tag's
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] <xsl:for-each select> and acessing the parent tag's
- From: Dan Diebolt <dandiebolt at yahoo dot com>
- Date: Mon, 16 Apr 2001 08:47:54 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
To access a parent's attribute from within a for loop:
<xsl:for-each select="something">
<xsl:value-of select="parent::*/@attribute"/>
</xsl:for-each>
Regards,
Dan
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list