xsl-list
[Top] [All Lists]

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

2010-02-03 02:16:53
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(_at_)hyperbase(_dot_)com> 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)




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--