[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problems with for-each
This is how I got around the problem...but is this the best way to do it?
It seems rather haphazard...
Thanks, Kevin <xsl:variable name="id"> <xsl:value-of select="identifier" /> </xsl:variable> <xsl:for-each select="//itemList/headerList/header"> <xsl:if test="name = 'title'"> <xsl:apply-templates select="//itemList/item/title[../identifier = $id]" /> </xsl:if> </xsl:for-each> From: "Kevin Nardi" <kevnardi@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: Problems with for-each Date: Thu, 12 Jul 2001 12:30:56 -0700 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|