[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Globbing versus Regular Expressions (was: Regular Associat

  • To: "David Tolpin" <dvd@d...>,<xml-dev@l...>
  • Subject: RE: Globbing versus Regular Expressions (was: Regular Associations)
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Mon, 5 Jan 2004 19:01:34 -0800
  • Thread-index: AcPTbv4VOj5xXzX+ROyuEe74KZjegAAkgGZA
  • Thread-topic: Globbing versus Regular Expressions (was: Regular Associations)

globbing
>-----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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.