| Subject: RE: Bug in XT ? - no From: Mike Brown <mbrown@xxxxxxxxxxxxx> Date: Wed, 18 Aug 1999 19:55:19 -0600 | 
> 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
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Bug in XT ?, Maxime Levesque | Thread | A Modest Proposal for the Re-inflat, Vun Kannon, David | 
| Bug in XT ?, Maxime Levesque | Date | Re: xsl parser listing, G. Ken Holman | 
| Month |