|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Bug in XT ? - no
> Exception in thread "main" bad character after : > > <xsl:variable name='zaza' select='http://www.yahoo.com'/> No, not a bug. You are saying "bind a variable with name 'zaza' to a node-set that matches the XPath expression http://www.yahoo.com" http: = namespace prefix 'http' // = descendants www = element name 'www' . = current node yahoo = element name 'yahoo' . = current node com = element name 'com' ...and this of course is not a valid expression for many reasons, not the least of which is that // cannot follow a namespace prefix. Try this (notice the quoting): <xsl:variable name="zaza" select="'http://www.yahoo.com'"/> This is saying "bind a variable with name 'zaza' to a *string* consisting of these literal characters http://www.yahoo.com 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








