[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: are all strings in a sequence valid potential QNam
At 2010-02-03 04:23 -0500, ac wrote:
This looks quite good. The XML character classes are quite useful here. I do still wonder about the case where you would have a digit or dash after the colon, implying that the local-name would not start with a name-start character. Is that case covered also? Well spotted! How about something like: matches($str,'^(\i\c*:)?\i\c*$') and matches($str,'^([^:]+:)?[^:]+$') . . . . . . . . . . . . Ken
|
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
|