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
|
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
|