|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] FLWOR ExpressionMichael Kay mhk at mhk.me.ukFri Dec 23 14:08:43 PST 2005
What are you aiming to achieve? You can convert it to a FLWOR expression trivially like this: for $x in //chunklist/chunk/par/s/tok[orth/text() = "se" and contains(disamb/ctag/text(), "KS")] return $x But that's hardly an improvement. You could also convert it to for $x in //chunklist/chunk/par/s/tok[orth/text() = "se" and contains(disamb/ctag/text(), "KS")] where $x/(orth/text() = "se" and contains(disamb/ctag/text(), "KS")) return $x but I don't think that's an improvement either. Michael Kay http://www.saxonica.com/ _____ From: http://xquery.com/mailman/listinfo/talk [mailto:http://xquery.com/mailman/listinfo/talk] On Behalf Of Elarrat, EFC Sent: 23 December 2005 11:41 To: http://xquery.com/mailman/listinfo/talk Subject: FLWOR Expression 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://xquery.com/pipermail/talk/attachments/20051223/ed4ac1db/attachment-0001.htm
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






