OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] [xpattern] Stream Order Operator

[ Lists Home | Date Index | Thread Index ]



On Wed, 19 Jan 2005, Alan Gutierrez wrote:  <excerpts>

>     XPath notion is a path language. It expresses paths in a
>     document.  I'd like to have a stream langauge.
>
>     Then you need something to indicate the order in the stream, I
>     suggest using the comma.
>     /a/b(foo, bar, baz)/c
>     /a(b/foo, b)/c
>
>     Then you can have proper pattern matching operators.
>     /a(b/foo+, b*)/c
>
>     Coming back to capturing.
>     /a(<b>, c = $1)

The above examples with ordering and regular expression operators suggest
you could consider basing XPattern on patterns derived from RelaxNG-like
types rather than from XPath-like paths.  If so, there is some prior work
that could be of use:
http://xduce.sourceforge.net/

XDuce didn't explicitly pursue support for streamed processing, but some
ideas might still be useful.  The paper [2] (in ACM Transactions) on
http://xduce.sourceforge.net/papers.html contains the most readable
introduction.

Vladimir




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS