[xquery-talk] FLWOR Expression

Philippe Michiels philippe.michiels at gmail.com
Sat Dec 31 10:07:23 PST 2005


The attachment was a little big for the server. You can download the generator 
right here:

www.adrem.ua.ac.be/~michiels/member.tar.gz

Ph

On Saturday 31 December 2005 09:17, fatma helmy wrote:
> dear all
> can anyone forward me a software that generates random
> xml files with certain specifications?
>
> --- John Snelson <jsnelson at sleepycat.com> wrote:
> > You can just use the XPath expression "as-is" in
> > XQuery - you don't need
> > to decompose it into loops (unless thats what you
> > *want* to do).
> >
> > My tip, however, is to not use the "text()"
> > selector. It is generally a
> > bad idea, as it almost certainly doesn't do what you
> > expect it to do.
> > This FAQ entry explains more about this:
>
> http://dev.sleepycat.com/resources/faq_show.html?id=81
>
> > John
> >
> > Elarrat, EFC wrote:
> > > I tryed to convert one XPath expression that I did
> >
> > to a FLWOR
> >
> > > expression, guess what?
> > > year...I couldn't...so if anyone could help me,
> >
> > I'd appreciate that.
> >
> > > I would like to convert this xpath (it's a xpath
> >
> > expression, right?):
> > > //chunklist/chunk/par/s/tok[orth/text() = "se" and
> > >
> > > contains(disamb/ctag/text(), "KS")]
> > >
> > > to some FLWOR expression, with loops and stuff.
> > >
> > > Thanks a lot,
> > >
> > > Eduardo Elarrat
> > > Happy XQuery Christmas
>
> ------------------------------------------------------------------------
>
> > > _______________________________________________
> > > talk at xquery.com
> > > http://xquery.com/mailman/listinfo/talk
> >
> > --
> > John Snelson, Berkeley DB XML Engineer
> > Sleepycat Software, Inc
> > http://www.sleepycat.com
> >
> > Contracted to Sleepycat through Parthenon Computing
> > Ltd
> > http://blog.parthcomp.com/dbxml
> > _______________________________________________
> > talk at xquery.com
> > http://xquery.com/mailman/listinfo/talk
>
> __________________________________________
> Yahoo! DSL – Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
> _______________________________________________
> talk at xquery.com
> http://xquery.com/mailman/listinfo/talk



More information about the talk mailing list