[xquery-talk] Context node example

Michael Kay mhk at mhk.me.uk
Fri Jun 4 20:51:49 PDT 2004


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