summaryrefslogtreecommitdiff
path: root/examples/svg
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/svg
downloadxmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.gz
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.bz2
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.zip
Diffstat (limited to 'examples/svg')
-rw-r--r--examples/svg/sample.svg14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/svg/sample.svg b/examples/svg/sample.svg
new file mode 100644
index 0000000..107e134
--- /dev/null
+++ b/examples/svg/sample.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg width="5cm" height="4cm" version="1.1"
+ xmlns="http://www.w3.org/2000/svg">
+ <desc>Four separate rectangles</desc>
+ <rect x="0.5cm" y="0.5cm" width="2cm" height="1cm"/>
+ <rect x="0.5cm" y="2cm" width="1cm" height="1.5cm"/>
+ <rect x="3cm" y="0.5cm" width="1.5cm" height="2cm"/>
+ <rect x="3.5cm" y="3cm" width="1cm" height="0.5cm"/>
+ <!-- Show outline of canvas using 'rect' element -->
+ <rect x=".01cm" y=".01cm" width="4.98cm" height="3.98cm"
+ fill="none" stroke="blue" stroke-width=".02cm" />
+</svg>