Subject: Re: Finding the "correct" context node in a for-each with multiple predicates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 7 Jul 2003 16:57:23 +0100
|
> spot[foo
you don't mean that as spot doesn't have foo children, I think you mean
this:
<xsl:for-each select="spot">
<xsl:variable name="spot" select="."/>
<xsl:for-each select="document('x.xml')/*/foo[@location=$spot/@value]/bar[@type=$spot/@name]">
something....
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|