diff -r ea49ee7a73c9 -r c7d05cf04b76 relpipe-data/examples/atom.xq --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/examples/atom.xq Fri Jan 11 22:39:30 2019 +0100 @@ -0,0 +1,26 @@ +xquery version "1.0"; + +declare namespace relpipe="tag:globalcode.info,2018:relpipe"; +declare namespace atom="http://www.w3.org/2005/Atom"; + + + + atom + + + + + + + { + for $e in /atom:feed/atom:entry + order by $e/atom:published descending + return + + {$e/atom:published/text()} + {$e/atom:title/text()} + {string($e/atom:link/@href)} + + } + +