|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Validate an XPath with regex
Shouldn't it be possible to validate the syntax of an XPath string using regular expressions. Im not a regex expert, so just want to ask you out there if it could be done. This is useful if you have a app that takes a XPath as argument, then you simply match the string against a regex to validate the syntax of the XPath string. This could also be used if you only support a subset of XPath in your app, by simply changing the regex! When the string is validated, you can send the XPath to parsing. Is the an regex expert, who want to gives this a try? I could try, but the result would not be pretty ;-) Niels Peter
|
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
|
|||||||||

Cart








