xsl-list
[Top] [All Lists]

Re: Finding the "correct" context node in a for-each with multiple predicates

2003-07-07 08:57:23


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[(_at_)location=$spot/@value]/bar[(_at_)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



<Prev in Thread] Current Thread [Next in Thread>