Subject: Re: [xsl] are all strings in a sequence valid potential QNames From: ac <ac@xxxxxxxxxxxxx> Date: Wed, 03 Feb 2010 11:51:23 -0500 |
This is QName-regex bliss. (Within W3C constraints (e.g. 5th ed.).
Cheers, ac
On 03/02/2010 11:21, David Carlisle wrote:
'^(\i([\c-[:]])*:)?\i([\c-[:]])*$'
David
Although one should probably note that because of the W3C's rather cavalier attitude to maintaining standards, the question in the subject line is not well posed: The set of legal Qnames changed between XML 1.0 edition 4 and edition 5, so the meaning of \c which is defined by reference to the XML spec depends on which edition 1.0 of XML is being implemented
David
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] NCName, QName and colons, Justin Johansson | Thread | RE: [xsl] are all strings in a sequ, Michael Kay |
Re: [xsl] dateTime format string, A, Dave Pawson | Date | Re: [xsl] best practices, insert PI, Wendell Piez |
Month |