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] XPath and XPattern (was Re: [xml-dev] More on taming SAX)

[ Lists Home | Date Index | Thread Index ]

* Alan Gutierrez <alan-xml-dev@engrm.com> [2004-12-27 05:51]:
> * Jeff Rafter <lists@jeffrafter.com> [2004-12-24 10:29]:

> > But when considering /foo/bar[baz3="test"]/baz1
> > 
> > <foo>
> >   <bar>
> >     <baz1/>
> >     <baz2/>
> >     <baz3>test</baz3>
> >   </bar>
> > </foo>
> > 
> > This predicate's value cannot be ascertained at the point of the baz1 
> > startElement event in a single event look ahead model. At least that is 
> > what I heard through the grapevine.

>     I was wondering...
> 
>     Say the test was /foo/bar/[baz2="test"]/baz1
> 
>     <foo>
>       <bar>
>         <baz1/>
>         <baz2>test</baz2>
>         <baz3/>
>       </bar>
>     </foo>
> 
>     If your schema stated that the children were (baz1,baz2,baz3)
>     wouldn't you have enough information to know to surrender when
>     you reached baz3?

    "Schema Assisted Sipping"

--
Alan Gutierrez - alan@engrm.com




 

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

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