Re: [xsl] <xsl:for-each select> and acessing the parent tag's

Subject: Re: [xsl] <xsl:for-each select> and acessing the parent tag's
From: Dan Diebolt <dandiebolt@xxxxxxxxx>
Date: Mon, 16 Apr 2001 08:47:54 -0700 (PDT)
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


Current Thread