Re: RELAX NG for matching

Hi Jeni,

Using RELAX NG for pattern matching XML is a great idea. Have you looked at the XDuce and CDuce languages? They offer "regular expression types" for pattern matching against XML, which they claim can offer superior performance to XPath/XQuery, and as you point out can be more elegant for many querying tasks.

Here is a post I wrote last year on pattern matching vs. XPath in XSLT:

http://www.oreillynet.com/xml/blog/2007/03/pattern_matching_with_xml_1.h...

I also think that a pattern matching approach would be a perfect fit for a style sheet language.

Cheers,

Michael

Reply

The content of this field is kept private and will not be shown publicly.