|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:variable with expr
On Monday 08 July 2002 21:27, sanghamitra das wrote: > XSLT Error (javax.xml.transform.TransformerConfigurationException): "expr" > xsl:variable element! > Can anu tell me the reason. > <xsl:variable name="DebugOpts" expr="abc123"/> Yes, the reason is painfully obvious. This is not valid XSLT. You probably want: <xsl:variable name="DebugOpts" select="'abc123'"/> which will assign $DebugOpts to the string "abc123". Note the use of "select" instead of "expr". -- Peter Davis 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
|

Cart








