Skip to content

Instantly share code, notes, and snippets.

@flexgrip
Created June 4, 2015 17:11
Show Gist options
  • Save flexgrip/62b801f6a51c70b09df0 to your computer and use it in GitHub Desktop.
Save flexgrip/62b801f6a51c70b09df0 to your computer and use it in GitHub Desktop.
What XML looks like in an SVG
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="169.41687"
height="126.50525"
id="svg2">
<defs
id="defs4" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-300.31429,-294.67272)"
id="layer1">
<g
id="text2985"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;font-family:League Gothic;-inkscape-font-specification:League Gothic">
<path
d="m 308.03429,324.07272 -2.24,-12.4 -1.16,0 0,12.4 -4.32,0 0,-29.4 4.32,0 c 5.16,0 7.36,2.92001 7.36,8.48 0,2.92 -0.76,5.56 -2.4,6.68 l 2.76,14.24 -4.32,0 m -3.4,-16.4 c 0.6,0 1.40001,-0.08 2.04,-0.64 0.64,-0.56 1.16,-1.64 1.16,-3.72 0,-2.07999 -0.52,-3.2 -1.16,-3.76 -0.63999,-0.56 -1.44,-0.6 -2.04,-0.6 l 0,8.72"
id="path3032" />
<path
d="m 320.88742,307.39272 c 0,-0.36 0,-0.92 -0.12,-1.32 -0.16,-0.4 -0.48,-0.68 -1,-0.68 -0.68,0 -0.96,0.52 -1.08,1.16 -0.04,0.32 -0.08,0.68 -0.08,1.04 0,0.36 0,0.72 0,1.04 l -4.04,0 0,-0.92 c 0,-1.6 0.6,-3.04 1.56,-4.12 0.96,-1.08 2.32,-1.72 3.88,-1.72 1.32,0 2.52,0.52 3.44,1.4 0.92,0.88 1.48,2.12 1.48,3.56 l 0,13.44 c 0,1.96 0.12,2.84 0.28,3.8 l -3.96,0 c -0.36,-0.44 -0.36,-1.48 -0.36,-1.76 l -0.28,0 c -0.2,0.36 -0.56,0.88 -1.12,1.32 -0.56,0.44 -1.32,0.76 -2.12,0.76 -0.52,0 -1.36,-0.2 -2,-1 -0.68,-0.76 -1.24,-2.12 -1.24,-4.4 0,-2.43999 0.72,-4.2 1.68,-5.4 0.96,-1.2 2.16,-1.96 3.16,-2.48 1,-0.52 1.76,-0.88 1.92,-1.32 l 0,-2.4 m 0,6.12 c -1.96,0.84 -2.8,2.80001 -2.8,4.88 0,0.28 0.04,0.76 0.2,1.2 0.16,0.48 0.44,0.84 0.92,0.84 0.92,0 1.68,-0.56 1.68,-1.32 l 0,-5.6"
id="path3034" />
<path
d="m 326.54179,328.23272 c 0.04,0.04 0.12,0.04 0.24,0.04 0.2,0.04 1.20001,0.12 1.84,-0.36 0.64,-0.48 1.08,-1.16 1.32,-2 0.12,-0.4 0.16,-0.8 0.16,-1.2 l -3.72,-22.52 3.96,0 1.6,13.44 0.08,1.12 0.16,0 0.08,-1.12 1.6,-13.44 3.96,0 -3.88,23.52 c -0.2,1.56 -0.8,3.08 -1.76,4.24 -0.95999,1.16 -2.24,1.96 -3.84,1.96 -0.12,0 -0.28,0 -0.48,0 -0.36,0 -0.84,-0.04 -1.32,-0.08 l 0,-3.6"
id="path3036" />
<path
d="m 346.09554,294.67272 4.04,0 0,4.04 -4.04,0 0,-4.04 m 0,29.4 0,-21.88 4.04,0 0,21.88 -4.04,0"
id="path3038" />
<path
d="m 359.24679,307.79272 c 0,-0.52 0,-1.16 -0.16,-1.68 -0.2,-0.48 -0.52,-0.88 -1.16,-0.88 -0.52,0 -0.84,0.4 -1,0.88 -0.2,0.48 -0.24,1.16 -0.24,1.68 0,0.68 0.36,1.4 0.88,2.04 0.48,0.64 1.12001,1.28 1.76,1.88 0.84,0.84 1.84001,1.8 2.52,2.88 0.68,1.12 1.2,2.36 1.2,3.8 0,1.4 -0.32,2.88 -1.12,4 -0.83999,1.16 -2.12,2 -4.04,2 -2.43999,0 -3.88,-1.12 -4.68,-2.48 -0.79999,-1.36 -0.96,-3.04 -0.96,-4.2 l 3.76,0 c 0,0.6 0.04,1.44 0.32,2.08 0.28,0.68 0.72001,1.24 1.56,1.24 1.16,0 1.4,-1.36 1.4,-2.64 0,-1.32 -1.28,-2.64 -2.52,-3.88 -0.95999,-0.92 -1.88,-1.76 -2.6,-2.84 -0.71999,-1.08 -1.24,-2.28 -1.24,-3.88 0,-1.28 0.24001,-2.76 1,-3.92 0.76,-1.12 2.00001,-1.96 3.92,-2 2.36,-0.04 3.68001,0.84 4.36,2 0.68,1.16 0.8,2.68 0.8,3.92 l -3.76,0"
id="path3040" />
<path
d="m 377.76242,307.39272 c 0,-0.36 0,-0.92 -0.12,-1.32 -0.16,-0.4 -0.48,-0.68 -1,-0.68 -0.68,0 -0.96,0.52 -1.08,1.16 -0.04,0.32 -0.08,0.68 -0.08,1.04 0,0.36 0,0.72 0,1.04 l -4.04,0 0,-0.92 c 0,-1.6 0.6,-3.04 1.56,-4.12 0.96,-1.08 2.32,-1.72 3.88,-1.72 1.32,0 2.52,0.52 3.44,1.4 0.92,0.88 1.48,2.12 1.48,3.56 l 0,13.44 c 0,1.96 0.12,2.84 0.28,3.8 l -3.96,0 c -0.36,-0.44 -0.36,-1.48 -0.36,-1.76 l -0.28,0 c -0.2,0.36 -0.56,0.88 -1.12,1.32 -0.56,0.44 -1.32,0.76 -2.12,0.76 -0.52,0 -1.36,-0.2 -2,-1 -0.68,-0.76 -1.24,-2.12 -1.24,-4.4 0,-2.43999 0.72,-4.2 1.68,-5.4 0.96,-1.2 2.16,-1.96 3.16,-2.48 1,-0.52 1.76,-0.88 1.92,-1.32 l 0,-2.4 m 0,6.12 c -1.96,0.84 -2.8,2.80001 -2.8,4.88 0,0.28 0.04,0.76 0.2,1.2 0.16,0.48 0.44,0.84 0.92,0.84 0.92,0 1.68,-0.56 1.68,-1.32 l 0,-5.6"
id="path3042" />
<path
d="m 393.45679,324.07272 -1.56,-10.44 -0.2,-1.24 -0.16,0 -0.2,1.24 -1.56,10.44 -3.36,0 -3.24,-21.88 3.68,0 1.28,11.44 0.16,1.24 0.24,0 0.2,-1.24 1.68,-11.44 2.4,0 1.68,11.44 0.2,1.24 0.24,0 0.16,-1.24 1.28,-11.44 3.68,0 -3.24,21.88 -3.36,0"
id="path3044" />
<path
d="m 411.99679,316.23272 0,2.52 c -0.12,2.12 -0.76,3.6 -2.2,4.76 -0.71999,0.6 -1.72,0.88 -3.04,0.88 -2.59999,0 -3.92,-1.44 -4.56,-2.88 -0.36,-0.84 -0.6,-1.8 -0.64,-2.88 l 0,-11 c 0.12,-2.11999 0.80001,-3.68 2.24,-4.88 0.68,-0.6 1.68001,-0.88 3,-0.88 2.6,0 3.92001,1.44 4.56,2.84 0.36,0.84 0.6,1.76 0.64,2.8 l 0,6.36 -6.68,0 0,4.76 c 0.04,0.84 0.28,1.44 0.64,1.88 0.2,0.2 0.48,0.32 0.84,0.32 0.76,0 1.12,-0.48 1.28,-1.08 0.12,-0.32 0.16,-0.68 0.16,-1.12 l 0,-2.4 3.76,0 m -6.68,-5.52 2.92,0 0,-3.08 c 0,-0.84 -0.16,-1.44 -0.56,-1.92 -0.2,-0.2 -0.52,-0.32 -0.88,-0.32 -0.75999,0 -1.08,0.52 -1.28,1.12 -0.12,0.32 -0.16,0.68 -0.2,1.12 l 0,3.08"
id="path3046" />
<path
d="m 420.73117,307.79272 c 0,-0.52 0,-1.16 -0.16,-1.68 -0.2,-0.48 -0.52,-0.88 -1.16,-0.88 -0.52,0 -0.84,0.4 -1,0.88 -0.2,0.48 -0.24,1.16 -0.24,1.68 0,0.68 0.36,1.4 0.88,2.04 0.48,0.64 1.12,1.28 1.76,1.88 0.84,0.84 1.84,1.8 2.52,2.88 0.68,1.12 1.2,2.36 1.2,3.8 0,1.4 -0.32,2.88 -1.12,4 -0.84,1.16 -2.12,2 -4.04,2 -2.44,0 -3.88,-1.12 -4.68,-2.48 -0.8,-1.36 -0.96,-3.04 -0.96,-4.2 l 3.76,0 c 0,0.6 0.04,1.44 0.32,2.08 0.28,0.68 0.72,1.24 1.56,1.24 1.16,0 1.4,-1.36 1.4,-2.64 0,-1.32 -1.28,-2.64 -2.52,-3.88 -0.96,-0.92 -1.88,-1.76 -2.6,-2.84 -0.72,-1.08 -1.24,-2.28 -1.24,-3.88 0,-1.28 0.24,-2.76 1,-3.92 0.76,-1.12 2,-1.96 3.92,-2 2.36,-0.04 3.68,0.84 4.36,2 0.68,1.16 0.8,2.68 0.8,3.92 l -3.76,0"
id="path3048" />
<path
d="m 436.95492,318.75272 c -0.12,2.12 -0.76,3.6 -2.16,4.76 -0.72,0.6 -1.72,0.88 -3.04,0.88 -2.6,0 -3.88,-1.44 -4.52,-2.88 -0.36,-0.84 -0.6,-1.8 -0.64,-2.88 l 0,-11 c 0.12,-2.11999 0.76,-3.68 2.16,-4.88 0.68,-0.6 1.68,-0.88 3,-0.88 2.6,0 3.92,1.44 4.56,2.84 0.36,0.84 0.6,1.76 0.64,2.8 l 0,11.24 m -3.8,-11.12 c 0.04,-0.84 -0.12,-1.44 -0.52,-1.92 -0.2,-0.2 -0.52,-0.32 -0.88,-0.32 -0.76,0 -1.08,0.52 -1.24,1.12 -0.12,0.32 -0.16,0.68 -0.12,1.12 l 0,11 c -0.04,0.84 0.16,1.44 0.52,1.88 0.2,0.2 0.48,0.32 0.84,0.32 0.76,0 1.12,-0.48 1.28,-1.08 0.12,-0.32 0.16,-0.68 0.12,-1.12 l 0,-11"
id="path3050" />
<path
d="m 450.12929,324.07272 -3.8,0 0,-17.32 c 0,-0.84 -0.64,-0.96 -1.08,-0.96 -0.44,0 -0.8,0.24 -1.08,0.52 -0.16,0.16 -0.32,0.32 -0.44,0.52 l 0,17.24 -4.04,0 0,-21.88 4.04,0 0,1.84 c 0.08,-0.04 0.24,-0.2 0.48,-0.44 0.44,-0.44 1.12001,-1.04 1.84,-1.44 0.36,-0.2 0.68,-0.28 1.04,-0.28 1.44,0 2.28,1.16 2.72,2.44 0.16,-0.12 0.36,-0.32 0.64,-0.6 0.52,-0.56 1.20001,-1.08 1.96,-1.52 0.36,-0.2 0.72,-0.32 1.08,-0.32 1.08,0 1.84,0.64 2.32,1.44 0.48,0.84 0.72,1.92 0.72,2.84 l 0,17.92 -3.8,0 0,-17.32 c 0,-0.84 -0.64,-0.96 -1.08,-0.96 -0.44,0 -0.8,0.24 -1.08,0.52 -0.16,0.16 -0.32,0.32 -0.44,0.52 l 0,17.24"
id="path3052" />
<path
d="m 469.73117,316.23272 0,2.52 c -0.12,2.12 -0.76,3.6 -2.2,4.76 -0.72,0.6 -1.72,0.88 -3.04,0.88 -2.6,0 -3.92,-1.44 -4.56,-2.88 -0.36,-0.84 -0.6,-1.8 -0.64,-2.88 l 0,-11 c 0.12,-2.11999 0.8,-3.68 2.24,-4.88 0.68,-0.6 1.68,-0.88 3,-0.88 2.6,0 3.92,1.44 4.56,2.84 0.36,0.84 0.6,1.76 0.64,2.8 l 0,6.36 -6.68,0 0,4.76 c 0.04,0.84 0.28,1.44 0.64,1.88 0.2,0.2 0.48,0.32 0.84,0.32 0.76,0 1.12,-0.48 1.28,-1.08 0.12,-0.32 0.16,-0.68 0.16,-1.12 l 0,-2.4 3.76,0 m -6.68,-5.52 2.92,0 0,-3.08 c 0,-0.84 -0.16,-1.44 -0.56,-1.92 -0.2,-0.2 -0.52,-0.32 -0.88,-0.32 -0.76,0 -1.08,0.52 -1.28,1.12 -0.12,0.32 -0.16,0.68 -0.2,1.12 l 0,3.08"
id="path3054" />
</g>
<path
d="m 294.55264,437.82458 c 0,22.98419 -18.63236,41.61655 -41.61654,41.61655 -22.98419,0 -41.61655,-18.63236 -41.61655,-41.61655 0,-22.98418 18.63236,-41.61654 41.61655,-41.61654 22.98418,0 41.61654,18.63236 41.61654,41.61654 z"
transform="translate(130.3985,-58.263158)"
id="path2991"
style="fill:#4d4d4d;fill-opacity:1" />
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment