~zorba-coders/zorba/bug-950621

« back to all changes in this revision

Viewing changes to src/compiler/parser/use-cases/ft_element.6.xqy

  • Committer: brantmat at ETHZ
  • Date: 2007-10-09 12:58:38 UTC
  • Revision ID: svn-v4:8046edc3-af21-0410-8661-ec7318497eea:trunk/zorba:904
commit of the new directory structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
for $book in doc("http://bstore1.example.com/full-text.xml")
 
2
   /books/book
 
3
let $title := $book/metadata/title[. ftcontains 
 
4
"improving" && "usability" distance at 
 
5
most 2 words ordered at start]
 
6
where count($title)>0
 
7
return $title