Project

Profile

Help

How to connect?
Download (213 Bytes) Statistics
| Branch: | Tag: | Revision:

he / latest10 / samples / query / books.xq @ b660dcd9

1
xquery version "1.0";
2
declare copy-namespaces no-preserve, inherit;
3

    
4
for $b in //BOOKS/ITEM
5
order by string-length($b/TITLE) return
6
<book>
7
  <author> { $b/AUTHOR } </author>
8
  <title> { $b/TITLE } </title>
9
</book>
(2-2/3)