summaryrefslogtreecommitdiff
path: root/examples/results
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
commit4732847654ed74ed893b7ea088805832fd91cc18 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /examples/results
downloadxmlstarlet-tizen_2.3.1_release.tar.gz
xmlstarlet-tizen_2.3.1_release.tar.bz2
xmlstarlet-tizen_2.3.1_release.zip
Diffstat (limited to 'examples/results')
-rw-r--r--examples/results/N-order.out0
-rw-r--r--examples/results/bigxml-dtd.out0
-rw-r--r--examples/results/bigxml-embed-ref.out0
-rw-r--r--examples/results/bigxml-embed.out0
-rw-r--r--examples/results/bigxml-relaxng.out1
-rw-r--r--examples/results/bigxml-well-formed.out0
-rw-r--r--examples/results/bigxml-xsd.out0
-rw-r--r--examples/results/bigxml.out0
-rw-r--r--examples/results/c14n-default-attr.out1
-rw-r--r--examples/results/c14n-newlines.out0
-rw-r--r--examples/results/c14n1.out14
-rw-r--r--examples/results/c14n2.out3
-rw-r--r--examples/results/command-help.out12
-rw-r--r--examples/results/count1.out1
-rw-r--r--examples/results/countnode1.out2
-rw-r--r--examples/results/delete1.out13
-rw-r--r--examples/results/docbook1.out58
-rw-r--r--examples/results/dtd1.out1
-rw-r--r--examples/results/dtd2.out1
-rw-r--r--examples/results/dtd3.out1
-rw-r--r--examples/results/dtd4.out1
-rw-r--r--examples/results/ed-2op.out10
-rw-r--r--examples/results/ed-append.out18
-rw-r--r--examples/results/ed-backref-delete.out17
-rw-r--r--examples/results/ed-backref1.out20
-rw-r--r--examples/results/ed-backref2.out19
-rw-r--r--examples/results/ed-expr.out23
-rw-r--r--examples/results/ed-insert.out17
-rw-r--r--examples/results/ed-literal.out3
-rw-r--r--examples/results/ed-move.out17
-rw-r--r--examples/results/ed-namespace.out3
-rw-r--r--examples/results/ed-nop.out7
-rw-r--r--examples/results/ed-subnode.out18
-rw-r--r--examples/results/elem-depth.out2
-rw-r--r--examples/results/elem-uniq.out7
-rw-r--r--examples/results/elem1.out14
-rw-r--r--examples/results/elem2.out20
-rw-r--r--examples/results/elem3.out14
-rw-r--r--examples/results/escape1.out14
-rw-r--r--examples/results/exslt-ed.out3
-rw-r--r--examples/results/exslt1.out1
-rw-r--r--examples/results/external-entity.out2
-rw-r--r--examples/results/findfile1.out1
-rw-r--r--examples/results/genxml1.out1
-rw-r--r--examples/results/hello1.out1
-rw-r--r--examples/results/localname1.out6
-rw-r--r--examples/results/look1.out1
-rw-r--r--examples/results/move1.out6
-rw-r--r--examples/results/noindent1.out21
-rw-r--r--examples/results/ns1.out6
-rw-r--r--examples/results/pyx-ns.out5
-rw-r--r--examples/results/pyx.out14
-rw-r--r--examples/results/recover1.out5
-rw-r--r--examples/results/rename-attr1.out21
-rw-r--r--examples/results/rename-elem1.out21
-rw-r--r--examples/results/schema1.out2
-rw-r--r--examples/results/sel-if.out6
-rw-r--r--examples/results/sel-literal.out0
-rw-r--r--examples/results/sel-many-values.out3
-rw-r--r--examples/results/sel-root.out2
-rw-r--r--examples/results/sel-xpath-c.out7
-rw-r--r--examples/results/sel-xpath-i.out0
-rw-r--r--examples/results/sel-xpath-m.out0
-rw-r--r--examples/results/sel-xpath-v.out0
-rw-r--r--examples/results/sel1.out4
-rw-r--r--examples/results/sort1.out3
-rw-r--r--examples/results/sort2.out10
-rw-r--r--examples/results/sort3.out10
-rw-r--r--examples/results/structure1.out9
-rw-r--r--examples/results/sum1.out1
-rw-r--r--examples/results/tab1.out21
-rw-r--r--examples/results/table1.out3
-rw-r--r--examples/results/table2.out3
-rw-r--r--examples/results/table3.out5
-rw-r--r--examples/results/tree1.out9
-rw-r--r--examples/results/unicode1.out3
-rw-r--r--examples/results/update-attr1.out21
-rw-r--r--examples/results/update-elem1.out21
-rw-r--r--examples/results/valid1.out62
-rw-r--r--examples/results/xinclude1.out8
-rw-r--r--examples/results/xsl-param1.out1
-rw-r--r--examples/results/xsl-sum1.out1
82 files changed, 682 insertions, 0 deletions
diff --git a/examples/results/N-order.out b/examples/results/N-order.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/N-order.out
diff --git a/examples/results/bigxml-dtd.out b/examples/results/bigxml-dtd.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/bigxml-dtd.out
diff --git a/examples/results/bigxml-embed-ref.out b/examples/results/bigxml-embed-ref.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/bigxml-embed-ref.out
diff --git a/examples/results/bigxml-embed.out b/examples/results/bigxml-embed.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/bigxml-embed.out
diff --git a/examples/results/bigxml-relaxng.out b/examples/results/bigxml-relaxng.out
new file mode 100644
index 0000000..7c8969f
--- /dev/null
+++ b/examples/results/bigxml-relaxng.out
@@ -0,0 +1 @@
+-:7000x
diff --git a/examples/results/bigxml-well-formed.out b/examples/results/bigxml-well-formed.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/bigxml-well-formed.out
diff --git a/examples/results/bigxml-xsd.out b/examples/results/bigxml-xsd.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/bigxml-xsd.out
diff --git a/examples/results/bigxml.out b/examples/results/bigxml.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/bigxml.out
diff --git a/examples/results/c14n-default-attr.out b/examples/results/c14n-default-attr.out
new file mode 100644
index 0000000..2d449fe
--- /dev/null
+++ b/examples/results/c14n-default-attr.out
@@ -0,0 +1 @@
+<doc attr="default"></doc> \ No newline at end of file
diff --git a/examples/results/c14n-newlines.out b/examples/results/c14n-newlines.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/c14n-newlines.out
diff --git a/examples/results/c14n1.out b/examples/results/c14n1.out
new file mode 100644
index 0000000..4010be7
--- /dev/null
+++ b/examples/results/c14n1.out
@@ -0,0 +1,14 @@
+<a1>
+ <a11>
+ <a111>
+ <a1111></a1111>
+ </a111>
+ <a112>
+ <a1121></a1121>
+ </a112>
+ </a11>
+ <a12></a12>
+ <a13>
+ <a131></a131>
+ </a13>
+</a1>0
diff --git a/examples/results/c14n2.out b/examples/results/c14n2.out
new file mode 100644
index 0000000..7c35341
--- /dev/null
+++ b/examples/results/c14n2.out
@@ -0,0 +1,3 @@
+<n1:elem1 xmlns:n1="http://b.example">
+content
+</n1:elem1> \ No newline at end of file
diff --git a/examples/results/command-help.out b/examples/results/command-help.out
new file mode 100644
index 0000000..0d6b5a0
--- /dev/null
+++ b/examples/results/command-help.out
@@ -0,0 +1,12 @@
+Usage: xml ed
+Usage: xml sel
+Usage: xml tr
+Usage: xml val
+Usage: xml fo
+Usage: xml el
+Usage: xml c14n
+Usage: xml ls
+Usage: xml esc
+Usage: xml unesc
+Usage: xml pyx
+Usage: xml p2x
diff --git a/examples/results/count1.out b/examples/results/count1.out
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/examples/results/count1.out
@@ -0,0 +1 @@
+3 \ No newline at end of file
diff --git a/examples/results/countnode1.out b/examples/results/countnode1.out
new file mode 100644
index 0000000..5b420f1
--- /dev/null
+++ b/examples/results/countnode1.out
@@ -0,0 +1,2 @@
+xml/table.xml 32
+xml/tab-obj.xml 41
diff --git a/examples/results/delete1.out b/examples/results/delete1.out
new file mode 100644
index 0000000..5971fba
--- /dev/null
+++ b/examples/results/delete1.out
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/docbook1.out b/examples/results/docbook1.out
new file mode 100644
index 0000000..e41f015
--- /dev/null
+++ b/examples/results/docbook1.out
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+ <head>
+ <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"/>
+ <title>DocBook document example</title>
+ <meta name="generator" content="DocBook XSL Stylesheets V1.48"/>
+ </head>
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+ <div class="book">
+ <div class="titlepage">
+ <div>
+ <h1 class="title"><a name="id2765244"/>DocBook document example</h1>
+ </div>
+ <div>
+ <h3 class="author">Mikhail Grushinskiy</h3>
+ </div>
+ <div>
+ <p class="copyright">Copyright © 2002 Mikhail Grushinskiy</p>
+ </div>
+ <hr/>
+ </div>
+ <div class="toc">
+ <p>
+ <b>Table of Contents</b>
+ </p>
+ <dl>
+ <dt>
+ <a href="#id2765482">Sample document</a>
+ </dt>
+ <dt>1. <a href="#id2767329">XMLStarlet Example</a></dt>
+ </dl>
+ </div>
+ <div class="preface">
+ <div class="titlepage">
+ <div>
+ <h2 class="title"><a name="id2765482"/>Sample document</h2>
+ </div>
+ </div>
+ <p>A simple DocBook example document.</p>
+ </div>
+ <div class="chapter">
+ <div class="titlepage">
+ <div>
+ <h2 class="title"><a name="id2767329"/>Chapter 1. XMLStarlet Example</h2>
+ </div>
+ </div>
+ <p>The <span class="emphasis"><i>XMLStarlet</i></span> command line toolkit
+ allows querying/checking/editing/transforming/formatting XML documents
+ from command line</p>
+ <p>To find out more on how to use the
+ <span class="emphasis"><i>XMLStarlet</i></span> for XML processing, point
+ your browser to <a href="http://xmlstar.sourceforge.net/" target="_top">http://xmlstar.sourceforge.net/</a>.
+ </p>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/examples/results/dtd1.out b/examples/results/dtd1.out
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/examples/results/dtd1.out
@@ -0,0 +1 @@
+1
diff --git a/examples/results/dtd2.out b/examples/results/dtd2.out
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/examples/results/dtd2.out
@@ -0,0 +1 @@
+0
diff --git a/examples/results/dtd3.out b/examples/results/dtd3.out
new file mode 100644
index 0000000..29afc5b
--- /dev/null
+++ b/examples/results/dtd3.out
@@ -0,0 +1 @@
+xml/foo.xml - invalid
diff --git a/examples/results/dtd4.out b/examples/results/dtd4.out
new file mode 100644
index 0000000..41e1b68
--- /dev/null
+++ b/examples/results/dtd4.out
@@ -0,0 +1 @@
+xml/table.xml - valid
diff --git a/examples/results/ed-2op.out b/examples/results/ed-2op.out
new file mode 100644
index 0000000..ff35181
--- /dev/null
+++ b/examples/results/ed-2op.out
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ </rec>
+ <newrec>value</newrec>
+ </table>
+</xml>
diff --git a/examples/results/ed-append.out b/examples/results/ed-append.out
new file mode 100644
index 0000000..0c7c37e
--- /dev/null
+++ b/examples/results/ed-append.out
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ </rec>
+ <newrec>value</newrec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/ed-backref-delete.out b/examples/results/ed-backref-delete.out
new file mode 100644
index 0000000..fd347de
--- /dev/null
+++ b/examples/results/ed-backref-delete.out
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/ed-backref1.out b/examples/results/ed-backref1.out
new file mode 100644
index 0000000..d8b7893
--- /dev/null
+++ b/examples/results/ed-backref1.out
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ <new-field new-attr="new-attr-value">new-value</new-field>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ <new-field new-attr="new-attr-value">new-value</new-field>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ <new-field new-attr="new-attr-value">new-value</new-field>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/ed-backref2.out b/examples/results/ed-backref2.out
new file mode 100644
index 0000000..6d823ce
--- /dev/null
+++ b/examples/results/ed-backref2.out
@@ -0,0 +1,19 @@
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ <new-field new-attr="new-attr-value">new-value<new-subelem></new-subelem></new-field>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ <new-field new-attr="new-attr-value">new-value<new-subelem></new-subelem></new-field>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ <new-field new-attr="new-attr-value">new-value<new-subelem></new-subelem></new-field>
+ </rec>
+ </table>
+</xml> \ No newline at end of file
diff --git a/examples/results/ed-expr.out b/examples/results/ed-expr.out
new file mode 100644
index 0000000..bb19961
--- /dev/null
+++ b/examples/results/ed-expr.out
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="2">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="4">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+ <highest-record>
+ <rec id="3">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ </highest-record>
+</xml>
diff --git a/examples/results/ed-insert.out b/examples/results/ed-insert.out
new file mode 100644
index 0000000..49ee98e
--- /dev/null
+++ b/examples/results/ed-insert.out
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1" first="yes">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/ed-literal.out b/examples/results/ed-literal.out
new file mode 100644
index 0000000..05b2bba
--- /dev/null
+++ b/examples/results/ed-literal.out
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc SYSTEM "foo.dtd">
+<doc>"&lt;&gt;&amp; &amp;quot; &amp;amp; &amp;lt; &amp;gt;</doc>
diff --git a/examples/results/ed-move.out b/examples/results/ed-move.out
new file mode 100644
index 0000000..c165165
--- /dev/null
+++ b/examples/results/ed-move.out
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xml>
+ <table id="1">
+ <rec>
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/ed-namespace.out b/examples/results/ed-namespace.out
new file mode 100644
index 0000000..8e13af1
--- /dev/null
+++ b/examples/results/ed-namespace.out
@@ -0,0 +1,3 @@
+<doc xmlns="http://www.foo.com/namespaces/my">
+ <el/>
+</doc>
diff --git a/examples/results/ed-nop.out b/examples/results/ed-nop.out
new file mode 100644
index 0000000..5323054
--- /dev/null
+++ b/examples/results/ed-nop.out
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc SYSTEM "foo.dtd">
+<doc>
+<foo>This is a "foo" line.</foo>
+<bar>This is a "bar" line.</bar>
+<foo>This is another "foo" line.</foo>
+</doc>
diff --git a/examples/results/ed-subnode.out b/examples/results/ed-subnode.out
new file mode 100644
index 0000000..9f008cc
--- /dev/null
+++ b/examples/results/ed-subnode.out
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ <newrec>value</newrec>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/elem-depth.out b/examples/results/elem-depth.out
new file mode 100644
index 0000000..97c7349
--- /dev/null
+++ b/examples/results/elem-depth.out
@@ -0,0 +1,2 @@
+xml
+xml/table
diff --git a/examples/results/elem-uniq.out b/examples/results/elem-uniq.out
new file mode 100644
index 0000000..7c97a24
--- /dev/null
+++ b/examples/results/elem-uniq.out
@@ -0,0 +1,7 @@
+xml
+xml/table
+xml/table/rec
+xml/table/rec/numField
+xml/table/rec/object
+xml/table/rec/object/property
+xml/table/rec/stringField
diff --git a/examples/results/elem1.out b/examples/results/elem1.out
new file mode 100644
index 0000000..ccc1825
--- /dev/null
+++ b/examples/results/elem1.out
@@ -0,0 +1,14 @@
+xml
+xml/table
+xml/table/rec
+xml/table/rec/numField
+xml/table/rec/stringField
+xml/table/rec/object
+xml/table/rec/object/property
+xml/table/rec/object/property
+xml/table/rec
+xml/table/rec/numField
+xml/table/rec/stringField
+xml/table/rec
+xml/table/rec/numField
+xml/table/rec/stringField
diff --git a/examples/results/elem2.out b/examples/results/elem2.out
new file mode 100644
index 0000000..14737b5
--- /dev/null
+++ b/examples/results/elem2.out
@@ -0,0 +1,20 @@
+xml
+xml/table
+xml/table/rec
+xml/table/rec/@id
+xml/table/rec/numField
+xml/table/rec/stringField
+xml/table/rec/object
+xml/table/rec/object/@name
+xml/table/rec/object/property
+xml/table/rec/object/property/@name
+xml/table/rec/object/property
+xml/table/rec/object/property/@name
+xml/table/rec
+xml/table/rec/@id
+xml/table/rec/numField
+xml/table/rec/stringField
+xml/table/rec
+xml/table/rec/@id
+xml/table/rec/numField
+xml/table/rec/stringField
diff --git a/examples/results/elem3.out b/examples/results/elem3.out
new file mode 100644
index 0000000..0df31dd
--- /dev/null
+++ b/examples/results/elem3.out
@@ -0,0 +1,14 @@
+xml
+xml/table
+xml/table/rec[@id='1']
+xml/table/rec/numField
+xml/table/rec/stringField
+xml/table/rec/object[@name='Obj1']
+xml/table/rec/object/property[@name='size']
+xml/table/rec/object/property[@name='type']
+xml/table/rec[@id='2']
+xml/table/rec/numField
+xml/table/rec/stringField
+xml/table/rec[@id='3']
+xml/table/rec/numField
+xml/table/rec/stringField
diff --git a/examples/results/escape1.out b/examples/results/escape1.out
new file mode 100644
index 0000000..e7982eb
--- /dev/null
+++ b/examples/results/escape1.out
@@ -0,0 +1,14 @@
+&lt;a1&gt;
+ &lt;a11&gt;
+ &lt;a111&gt;
+ &lt;a1111/&gt;
+ &lt;/a111&gt;
+ &lt;a112&gt;
+ &lt;a1121/&gt;
+ &lt;/a112&gt;
+ &lt;/a11&gt;
+ &lt;a12/&gt;
+ &lt;a13&gt;
+ &lt;a131/&gt;
+ &lt;/a13&gt;
+&lt;/a1&gt;
diff --git a/examples/results/exslt-ed.out b/examples/results/exslt-ed.out
new file mode 100644
index 0000000..e670310
--- /dev/null
+++ b/examples/results/exslt-ed.out
@@ -0,0 +1,3 @@
+<x>Saturday</x>
+<x>1000</x>
+<x>2</x>
diff --git a/examples/results/exslt1.out b/examples/results/exslt1.out
new file mode 100644
index 0000000..83b33d2
--- /dev/null
+++ b/examples/results/exslt1.out
@@ -0,0 +1 @@
+1000
diff --git a/examples/results/external-entity.out b/examples/results/external-entity.out
new file mode 100644
index 0000000..9ca413f
--- /dev/null
+++ b/examples/results/external-entity.out
@@ -0,0 +1,2 @@
+<foo>bar</foo>
+bar
diff --git a/examples/results/findfile1.out b/examples/results/findfile1.out
new file mode 100644
index 0000000..ddc3803
--- /dev/null
+++ b/examples/results/findfile1.out
@@ -0,0 +1 @@
+xml/tab-obj.xml
diff --git a/examples/results/genxml1.out b/examples/results/genxml1.out
new file mode 100644
index 0000000..1cd3352
--- /dev/null
+++ b/examples/results/genxml1.out
@@ -0,0 +1 @@
+<xml><child data="value"></child></xml>
diff --git a/examples/results/hello1.out b/examples/results/hello1.out
new file mode 100644
index 0000000..c57eff5
--- /dev/null
+++ b/examples/results/hello1.out
@@ -0,0 +1 @@
+Hello World! \ No newline at end of file
diff --git a/examples/results/localname1.out b/examples/results/localname1.out
new file mode 100644
index 0000000..983fe6e
--- /dev/null
+++ b/examples/results/localname1.out
@@ -0,0 +1,6 @@
+
+ SELECT substr(title,1,26) short_title, title, location, skills
+ FROM job
+ WHERE UPPER(title) LIKE '%ORACLE%'
+ ORDER BY first_posted DESC
+
diff --git a/examples/results/look1.out b/examples/results/look1.out
new file mode 100644
index 0000000..99ca0d5
--- /dev/null
+++ b/examples/results/look1.out
@@ -0,0 +1 @@
+346
diff --git a/examples/results/move1.out b/examples/results/move1.out
new file mode 100644
index 0000000..e02efd8
--- /dev/null
+++ b/examples/results/move1.out
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<x id="1">
+ <a>
+ <b/>
+ </a>
+</x>
diff --git a/examples/results/noindent1.out b/examples/results/noindent1.out
new file mode 100644
index 0000000..8760759
--- /dev/null
+++ b/examples/results/noindent1.out
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<xml>
+<table>
+<rec id="1">
+<numField>123</numField>
+<stringField>String Value</stringField>
+<object name="Obj1">
+<property name="size">10</property>
+<property name="type">Data</property>
+</object>
+</rec>
+<rec id="2">
+<numField>346</numField>
+<stringField>Text Value</stringField>
+</rec>
+<rec id="3">
+<numField>-23</numField>
+<stringField>stringValue</stringField>
+</rec>
+</table>
+</xml>
diff --git a/examples/results/ns1.out b/examples/results/ns1.out
new file mode 100644
index 0000000..983fe6e
--- /dev/null
+++ b/examples/results/ns1.out
@@ -0,0 +1,6 @@
+
+ SELECT substr(title,1,26) short_title, title, location, skills
+ FROM job
+ WHERE UPPER(title) LIKE '%ORACLE%'
+ ORDER BY first_posted DESC
+
diff --git a/examples/results/pyx-ns.out b/examples/results/pyx-ns.out
new file mode 100644
index 0000000..7a6ca3f
--- /dev/null
+++ b/examples/results/pyx-ns.out
@@ -0,0 +1,5 @@
+<n0:pdu xmlns:n0="http://a.example.com">
+<n1:elem1 xmlns:n1="http://b.example">
+content
+</n1:elem1>
+</n0:pdu> \ No newline at end of file
diff --git a/examples/results/pyx.out b/examples/results/pyx.out
new file mode 100644
index 0000000..db5d41b
--- /dev/null
+++ b/examples/results/pyx.out
@@ -0,0 +1,14 @@
+<books>
+<begin></begin>
+<book type="hardback">
+<title>Atlas Shrugged</title>
+<author>Ayn Rand</author>
+<isbn id="1">0525934189<br></br></isbn>
+</book>
+Next Book
+<book type="paperback">
+<title>A Burnt-Out Case</title>
+<author>Graham Greene</author>
+<isbn id="2">0140185399<br></br></isbn>
+</book>
+</books> \ No newline at end of file
diff --git a/examples/results/recover1.out b/examples/results/recover1.out
new file mode 100644
index 0000000..fb7102d
--- /dev/null
+++ b/examples/results/recover1.out
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<test_output>
+ <test_name>foo</test_name>
+ <subtest>...</subtest>
+</test_output>
diff --git a/examples/results/rename-attr1.out b/examples/results/rename-attr1.out
new file mode 100644
index 0000000..13e0a33
--- /dev/null
+++ b/examples/results/rename-attr1.out
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec ID="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ <object name="Obj1">
+ <property name="size">10</property>
+ <property name="type">Data</property>
+ </object>
+ </rec>
+ <rec ID="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec ID="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/rename-elem1.out b/examples/results/rename-elem1.out
new file mode 100644
index 0000000..1f8d3bb
--- /dev/null
+++ b/examples/results/rename-elem1.out
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <record id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ <object name="Obj1">
+ <property name="size">10</property>
+ <property name="type">Data</property>
+ </object>
+ </record>
+ <record id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </record>
+ <record id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </record>
+ </table>
+</xml>
diff --git a/examples/results/schema1.out b/examples/results/schema1.out
new file mode 100644
index 0000000..a1ed3bd
--- /dev/null
+++ b/examples/results/schema1.out
@@ -0,0 +1,2 @@
+xml/tab-obj.xml
+1
diff --git a/examples/results/sel-if.out b/examples/results/sel-if.out
new file mode 100644
index 0000000..830ab19
--- /dev/null
+++ b/examples/results/sel-if.out
@@ -0,0 +1,6 @@
+yes
+all
+no
+all
+maybe
+all
diff --git a/examples/results/sel-literal.out b/examples/results/sel-literal.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/sel-literal.out
diff --git a/examples/results/sel-many-values.out b/examples/results/sel-many-values.out
new file mode 100644
index 0000000..5f5fbe7
--- /dev/null
+++ b/examples/results/sel-many-values.out
@@ -0,0 +1,3 @@
+1
+2
+3 \ No newline at end of file
diff --git a/examples/results/sel-root.out b/examples/results/sel-root.out
new file mode 100644
index 0000000..6fee35f
--- /dev/null
+++ b/examples/results/sel-root.out
@@ -0,0 +1,2 @@
+<xsl-select><x></x></xsl-select>
+<xsl-select><x></x><x></x></xsl-select>
diff --git a/examples/results/sel-xpath-c.out b/examples/results/sel-xpath-c.out
new file mode 100644
index 0000000..2baab9a
--- /dev/null
+++ b/examples/results/sel-xpath-c.out
@@ -0,0 +1,7 @@
+abc
+a'c
+a"c
+a'"c
+"'a'b""
+!@#$%^&*()_+-=~`\|'";:/?.>,<[]{}
+]]>
diff --git a/examples/results/sel-xpath-i.out b/examples/results/sel-xpath-i.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/sel-xpath-i.out
diff --git a/examples/results/sel-xpath-m.out b/examples/results/sel-xpath-m.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/sel-xpath-m.out
diff --git a/examples/results/sel-xpath-v.out b/examples/results/sel-xpath-v.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/results/sel-xpath-v.out
diff --git a/examples/results/sel1.out b/examples/results/sel1.out
new file mode 100644
index 0000000..c622814
--- /dev/null
+++ b/examples/results/sel1.out
@@ -0,0 +1,4 @@
+<ROOT><rec id="1"><numField>123</numField><stringField>String Value</stringField></rec>
+<rec id="2"><numField>346</numField><stringField>Text Value</stringField></rec>
+<rec id="3"><numField>-23</numField><stringField>stringValue</stringField></rec>
+</ROOT> \ No newline at end of file
diff --git a/examples/results/sort1.out b/examples/results/sort1.out
new file mode 100644
index 0000000..0488af5
--- /dev/null
+++ b/examples/results/sort1.out
@@ -0,0 +1,3 @@
+3|-23|stringValue
+2|346|Text Value
+1|123|String Value
diff --git a/examples/results/sort2.out b/examples/results/sort2.out
new file mode 100644
index 0000000..e36f68a
--- /dev/null
+++ b/examples/results/sort2.out
@@ -0,0 +1,10 @@
+A
+a
+E
+e
+B
+b
+C
+c
+D
+d
diff --git a/examples/results/sort3.out b/examples/results/sort3.out
new file mode 100644
index 0000000..3fce669
--- /dev/null
+++ b/examples/results/sort3.out
@@ -0,0 +1,10 @@
+a
+A
+b
+B
+c
+C
+d
+D
+e
+E
diff --git a/examples/results/structure1.out b/examples/results/structure1.out
new file mode 100644
index 0000000..5eb1948
--- /dev/null
+++ b/examples/results/structure1.out
@@ -0,0 +1,9 @@
+a1
+a1.a11
+a1.a11.a111
+a1.a11.a111.a1111
+a1.a11.a112
+a1.a11.a112.a1121
+a1.a12
+a1.a13
+a1.a13.a131
diff --git a/examples/results/sum1.out b/examples/results/sum1.out
new file mode 100644
index 0000000..0187835
--- /dev/null
+++ b/examples/results/sum1.out
@@ -0,0 +1 @@
+446
diff --git a/examples/results/tab1.out b/examples/results/tab1.out
new file mode 100644
index 0000000..338eb72
--- /dev/null
+++ b/examples/results/tab1.out
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ <object name="Obj1">
+ <property name="size">10</property>
+ <property name="type">Data</property>
+ </object>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/table1.out b/examples/results/table1.out
new file mode 100644
index 0000000..7dac0ea
--- /dev/null
+++ b/examples/results/table1.out
@@ -0,0 +1,3 @@
+1|123|String Value
+2|346|Text Value
+3|-23|stringValue
diff --git a/examples/results/table2.out b/examples/results/table2.out
new file mode 100644
index 0000000..7dac0ea
--- /dev/null
+++ b/examples/results/table2.out
@@ -0,0 +1,3 @@
+1|123|String Value
+2|346|Text Value
+3|-23|stringValue
diff --git a/examples/results/table3.out b/examples/results/table3.out
new file mode 100644
index 0000000..5ce5d52
--- /dev/null
+++ b/examples/results/table3.out
@@ -0,0 +1,5 @@
+===================
+1|123|String Value
+2|346|Text Value
+3|-23|stringValue
+===================
diff --git a/examples/results/tree1.out b/examples/results/tree1.out
new file mode 100644
index 0000000..0279695
--- /dev/null
+++ b/examples/results/tree1.out
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<books>
+ <book type="hardback">
+ <isbn id="1">0525934189</isbn>
+ </book>
+ <book type="paperback">
+ <isbn id="2">0140185399</isbn>
+ </book>
+</books>
diff --git a/examples/results/unicode1.out b/examples/results/unicode1.out
new file mode 100644
index 0000000..cbc9f3c
--- /dev/null
+++ b/examples/results/unicode1.out
@@ -0,0 +1,3 @@
+français
+français
+français
diff --git a/examples/results/update-attr1.out b/examples/results/update-attr1.out
new file mode 100644
index 0000000..9578728
--- /dev/null
+++ b/examples/results/update-attr1.out
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>123</numField>
+ <stringField>String Value</stringField>
+ <object name="Obj1">
+ <property name="size">10</property>
+ <property name="type">Data</property>
+ </object>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="5">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/update-elem1.out b/examples/results/update-elem1.out
new file mode 100644
index 0000000..4b03f27
--- /dev/null
+++ b/examples/results/update-elem1.out
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<xml>
+ <table>
+ <rec id="1">
+ <numField>0</numField>
+ <stringField>String Value</stringField>
+ <object name="Obj1">
+ <property name="size">10</property>
+ <property name="type">Data</property>
+ </object>
+ </rec>
+ <rec id="2">
+ <numField>346</numField>
+ <stringField>Text Value</stringField>
+ </rec>
+ <rec id="3">
+ <numField>-23</numField>
+ <stringField>stringValue</stringField>
+ </rec>
+ </table>
+</xml>
diff --git a/examples/results/valid1.out b/examples/results/valid1.out
new file mode 100644
index 0000000..e21ffbe
--- /dev/null
+++ b/examples/results/valid1.out
@@ -0,0 +1,62 @@
+===============================================
+Well-Formedness Validation Tests
+- 1 -------------------------------------------
+xml/table.xml - valid
+xml/tab-obj.xml - valid
+xml/tab-bad.xml - invalid
+1
+- 2 -------------------------------------------
+xml/table.xml
+xml/tab-obj.xml
+1
+- 3 -------------------------------------------
+xml/tab-bad.xml
+1
+- 4 -------------------------------------------
+0
+===============================================
+DTD Validation Tests
+- 1 -------------------------------------------
+xml/table.xml - valid
+xml/tab-obj.xml - invalid
+xml/tab-bad.xml - invalid
+1
+- 2 -------------------------------------------
+xml/table.xml
+1
+- 3 -------------------------------------------
+xml/tab-obj.xml
+xml/tab-bad.xml
+1
+- 4 -------------------------------------------
+0
+===============================================
+Schema Validation Tests
+- 1 -------------------------------------------
+xml/table.xml - valid
+xml/tab-obj.xml - invalid
+xml/tab-bad.xml - invalid
+1
+- 2 -------------------------------------------
+xml/table.xml
+1
+- 3 -------------------------------------------
+xml/tab-obj.xml
+xml/tab-bad.xml
+1
+- 4 -------------------------------------------
+0
+===============================================
+RelaxNG Schema Validation Tests
+- 1 -------------------------------------------
+relaxng/address.xml - valid
+relaxng/address-bad.xml - invalid
+1
+- 2 -------------------------------------------
+relaxng/address.xml
+1
+- 3 -------------------------------------------
+relaxng/address-bad.xml
+1
+- 4 -------------------------------------------
+0
diff --git a/examples/results/xinclude1.out b/examples/results/xinclude1.out
new file mode 100644
index 0000000..d369b2f
--- /dev/null
+++ b/examples/results/xinclude1.out
@@ -0,0 +1,8 @@
+<document xmlns:xi="http://www.w3.org/2003/XInclude">
+ <p>120 Mz is adequate for an average home user.</p>
+ <disclaimer>
+ <p>The opinions represented herein represent those of the individual
+ and should not be interpreted as official policy endorsed by this
+ organization.</p>
+</disclaimer>
+</document> \ No newline at end of file
diff --git a/examples/results/xsl-param1.out b/examples/results/xsl-param1.out
new file mode 100644
index 0000000..c155c07
--- /dev/null
+++ b/examples/results/xsl-param1.out
@@ -0,0 +1 @@
+Count=3
diff --git a/examples/results/xsl-sum1.out b/examples/results/xsl-sum1.out
new file mode 100644
index 0000000..0187835
--- /dev/null
+++ b/examples/results/xsl-sum1.out
@@ -0,0 +1 @@
+446