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

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


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

Hi List,

As for example, in determining element and/or attribute names from the first line of a csv file, as well as other similar cases, with xslt2.0 (e.g. without "map", "try", and schema), what is the best way to check (e.g. true/false) that
1. a string is a valid potential QName (e.g. match + what regex?, or other option)
2. all strings in a sequence are valid potential QNames


Thank you,
ac


Current Thread