This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]