|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Globbing versus Regular Expressions (was: Regular Associat
>-----Original Message----- >From: David Tolpin [mailto:dvd@d...] >Sent: Monday, January 05, 2004 1:30 AM >To: xml-dev@l... >Subject: Globbing versus Regular Expressions (was: >Regular Associations) > >- it does a different thing: XPath is a language for >addressing parts of > a document, Relax NG, and the way it is used in ARX, the >utility we are discussing, > assesses that a document matches a regular pattern. If you wrap boolean() around your XPath expressions and limit them to expressions that evaluate to a node set then you have the same thing. >Note 1. However, I would find an XSLT-like language that >provides XML regular expressions (similar to Relax NG) for >matching and selection more useful and convenient, if >occasionally less verbose, than XSLT; if string regular >expressions (which are peripheral to the area of XSLT) were >added, why XML regular expressions were not? Sounds like XQuery. >Note 2. Actually, I mentioned in the original message that my >first thought had been to use XSLT for this purpose (and I >meant XPath, of course), and that I had realized later that >Relax NG is more appropriate. However, it was written at the >very end of the message. Missed that part of your message. -- PITHY WORDS OF WISDOM To err is human but when the eraser wears out before the pencil, you're carrying things too far. This posting is provided "AS IS" with no warranties, and confers no rights.
|
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








