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

Re: variable as select for template

Subject: Re: variable as select for template
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Wed, 19 Sep 2001 15:14:33 +0100
Re:  variable as select for template
yes this is possible

the only things u have to worry about is that the variable is usually a node
set ( as u indicated ), and the current context of the node being used.

to make things simple i would test without using modes, once u have it
working properly then pop in the modes.

cheers, jim fuller

----- Original Message -----
From: "Dmitri Ilyin" <dmitri.ilyin@xxxxxxxxx>
To: "XSL-List@lists. mulberrytech. com (E-mail)"
<XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, September 19, 2001 3:01 PM
Subject:  variable as select for template


> Hi *,
>
> I'd like to use
> xsl:variable in xsl:apply-templates select="" statement.
>
> eg
> create variable with node()
>
> <xsl:variable name="var1">
>   <xsl:value-of select="select some node here"/>
> </xsl:variable>
>
> use it in
> <xsl:apply-templates mode="some_template" select ="$var1"/>
>
> Is it posible???
>
> thanks
>
> Dmitri
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.