diff -r dee5afe5301f -r 3f74d0d4af4c doc/src/snippets/patternist/embedDataInXHTML.xq --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/src/snippets/patternist/embedDataInXHTML.xq Thu Apr 08 14:19:33 2010 +0300 @@ -0,0 +1,10 @@ +declare default element namespace "http://www.w3.org/1999/xhtml"; + + + { + for $i in doc("testResult.xml")/tests/test[@status = "failure"] + order by $i/@name + return

{$i/@name}

+ } + +