[xquery-talk] Context node example

Carmelo Montanez carmelo at nist.gov
Fri Jun 4 15:57:15 PDT 2004


Hi Mike:

Thanks.  Its that 0.0001% that is almost never used what would interest me
the most.  However will try to use predicates to develop the tests.

Carmelo

At 07:51 PM 6/4/2004 +0100, Michael Kay wrote:
>In XQuery, these functions will almost always be used in a predicate. For
>example
>
>//title[string-length() gt 10]
>
>or
>
>count((for $i in //price return substring-after(., "£"))[number() gt 10])
>
>Michael Kay
>
> > -----Original Message-----
> > From: talk-bounces at xquery.com
> > [mailto:talk-bounces at xquery.com] On Behalf Of Carmelo Montanez
> > Sent: 04 June 2004 17:49
> > To: talk at xquery.com
> > Subject: [xquery-talk] Context node example
> >
> > All:
> >
> > Anyone has a query example that uses one of the F&O functions
> > with the context node (if applicable)?.  I am just looking for some
> > direction on the usage with the context node.  "fn:number"
> > for instance
> > will be a good one.
> >
> > Thanks,
> > Carmelo Montanez
> >
> > _______________________________________________
> > talk at xquery.com
> > http://xquery.com/mailman/listinfo/talk
> >




More information about the talk mailing list