|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Question about xpath
> > Hyphens are not allowed in variable names. > > Oh yes they are. Silly me. "Both xsl:variable and xsl:param have a required name attribute, which specifies the name of the variable. The value of the name attribute is a QName, which is expanded as described in [2.4 Qualified Names]." (QName as defined by XML 1.0): [6] QName ::= (Prefix ':')? LocalPart [7] Prefix ::= NCName [8] LocalPart ::= NCName [4] NCName ::= (Letter | '_') (NCNameChar)* /* An XML Name, minus the ":" */ I got this far and stopped reading! Variable names can't start with a hyphen, but may contain any of them: [5] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender This makes me want to make a variable named _-._.-._.-._ just for kicks. Sorry for the misinformation. 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








