diff options
Diffstat (limited to 'test/xml-mapped/attribute-single-element-2')
-rw-r--r-- | test/xml-mapped/attribute-single-element-2/check.txt | 2 | ||||
-rw-r--r-- | test/xml-mapped/attribute-single-element-2/input.xml | 2 | ||||
-rw-r--r-- | test/xml-mapped/attribute-single-element-2/map.xml | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/test/xml-mapped/attribute-single-element-2/check.txt b/test/xml-mapped/attribute-single-element-2/check.txt new file mode 100644 index 0000000..8a0ff58 --- /dev/null +++ b/test/xml-mapped/attribute-single-element-2/check.txt @@ -0,0 +1,2 @@ +data/2/3:numeric:1.1 +data/2/4:string:"2012-09-30" diff --git a/test/xml-mapped/attribute-single-element-2/input.xml b/test/xml-mapped/attribute-single-element-2/input.xml new file mode 100644 index 0000000..82dffee --- /dev/null +++ b/test/xml-mapped/attribute-single-element-2/input.xml @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<root-only version="1.1" date="2012-09-30">This is not linked</root-only> diff --git a/test/xml-mapped/attribute-single-element-2/map.xml b/test/xml-mapped/attribute-single-element-2/map.xml new file mode 100644 index 0000000..0ba42ff --- /dev/null +++ b/test/xml-mapped/attribute-single-element-2/map.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<map xmlns="http://gitorious.org/orcus/xml-map"> + <sheet name="data"/> + <cell path="/root-only/@version" row="2" column="3" sheet="data"/> + <cell path="/root-only/@date" row="2" column="4" sheet="data"/> +</map> |