|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT: Selecting nodes based on a group of other nodes
> What I need to do is store the node
> list into a variable so that something like the following can be done:
I think you need to be clearer about what you want the outcome to be
as your sketch can't be made to work.
you wrote
<xsl:when test="/RESPONSE/FILTERED">
<!-- Set products variable to products that have corresponding
SELECTEDPRODUCT nodes -->
<!-- Insert my attempts to code here -->
</xsl:when>
but whatever you insert at the indicated position, even if it selects
what you want, will have no effect on the rest of the code, as the
scope of any variable binding is the current element so it ends at that
</xsl:when>
David
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
|

Cart








