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

RE: RE: Local-Global Variable help

Subject: RE: RE: Local-Global Variable help
From: <m.core@xxxxxxxxxxxxxxxx>
Date: Wed, 30 Aug 2006 14:18:43 +0200
re local
Thx all, 
i make you an example for calrify what i need to do 
(put "<" instead of "(" ):

TEMPLATE 1:
(xsl:template match="fields[descendant::field[contains(@id, 'Metadata')]]")
(xsl:for-each select="field[contains(@id,'classMetadata')]")
(xsl:variable name="var" select="@value")
(/xsl:template)

TEMPLATE 2:
(xsl:template match="fields[descendant::field[utils:endsWith(@id, $var)]]")
 ecc
 ...
 
(/xsl:template)


so how you can see both my two templates match something but the second use the variable create in the first as argument of it's match i hope is possible with param doing something like this

thx for replies

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.