|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: extract the right elements
> <xsl:for-each select="//INSTANCE[@class='Audio' or @class='Web-Site']">
This loops over the nodes that you want but then having got there you do this:
> <xsl:for-each select="key('tracker','Position')">
which selects all the nodes using the constant key 'Position' so it
does not depend in any way on the INSTANCE node and so the inner loop
will produce identical <item> elements one for each of the originally
selected INSTANCE[@class='Audio' or @class='Web-Site' elements.
insde this for-each the current node is whatever node is returned by
your key, so your INSTANCE elements are not used at all.
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
|
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








