[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Match values from XML-file A with values from XML-

Subject: RE: Match values from XML-file A with values from XML-file B
From: "Sellmer-Brüls, Barbara" <B.Sellmer-Bruels@xxxxxxxxxxx>
Date: Fri, 25 May 2001 17:17:59 +0200
 RE: Match values from XML-file A with values from XML-
Hello Adam or others,

First: thanks for this, Z. 
I tried what you suggested, but

>	  <xsl:apply-templates select="$products"/>

plus a corresponding <xsl:template match = "$products"> does not work. 

If I understood correctly, your suggestion is to store the resulting product
nodes in this variable.
>	 <xsl:variable name="products"
>
select="$doc/export/product[class/category/category/@code=$code]"/>

I need to sort all product-elements stored in this variable and perform some
product node specific tranformations. 
The variable must include all product nodes matched by ANY category listet
within the same chapter.

I think this makes it neccessary to access the sub-structure of nodes stored
in $products (is this possible?).

Maybe, the solution is easy and I am just puzzled, but
many thanks for more help.
Barbara
----
mailto:b.sellmer-bruels@xxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.