[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] are all strings in a sequence valid potential QNames


Subject: Re: [xsl] are all strings in a sequence valid potential QNames
From: ac <ac@xxxxxxxxxxxxx>
Date: Wed, 03 Feb 2010 03:16:29 -0500

Hi,

Thank you Mukul.

I should have thought about castable as.

Thanks for reminding me.

What would be the regex to match QNames? can prefixes also have "-" and digits, etc?

Cheers,
ac



probably something like below:

On Wed, Feb 3, 2010 at 12:59 PM, ac <ac@xxxxxxxxxxxxx> wrote:
1. a string is a valid potential QName (e.g. match + what regex?, or other
option)

$str castable as xs:QName


2. all strings in a sequence are valid potential QNames

every $x in $str satisfies ($x castable as xs:QName)


Current Thread