From 39236c01ae6c9bc99ee3a02d8294679e12d9b734 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 22 May 2017 16:44:51 +0200 Subject: move everying into sources/pyside2 in preparation for a subtree merge. this should not be necessary to do in a separate commit, but git is a tad stupid about following history correctly without it. --- .../doc/src/snippets/patternist/embedDataInXHTML.xq | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sources/pyside2/doc/codesnippets/doc/src/snippets/patternist/embedDataInXHTML.xq (limited to 'sources/pyside2/doc/codesnippets/doc/src/snippets/patternist/embedDataInXHTML.xq') diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/patternist/embedDataInXHTML.xq b/sources/pyside2/doc/codesnippets/doc/src/snippets/patternist/embedDataInXHTML.xq new file mode 100644 index 000000000..b513922a3 --- /dev/null +++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/patternist/embedDataInXHTML.xq @@ -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}

+ } + + -- cgit v1.2.3