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