Subject: RE: [xsl] doubts: xsl:import and variables From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 29 Oct 2002 13:32:14 -0000 |
> > Can i give any xsl variable inside another xsl tag. > > for eg > : > <xsl:import href="$somexslVariable"/> > > where somexslVariable is an xsl variable whose value is > obtained from xml document > No, you can't do this, because xsl:import is a compile-time construct, and variables aren't evaluated until run-time. Usually (this is a FAQ) the answer is to import the other way around - import the general-purpose stylesheet module from the special-purpose module. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] doubts: xsl:import and variab, ashwati s | Thread | [xsl] (No Subject), ashwati s |
RE: [xsl] newbie question, Michael Kay | Date | RE: [xsl] CSV instead of white-spac, Michael Kay |
Month |