1 <?xml version=
"1.0" standalone=
"no"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 <svg width=
"800" height=
"600" viewBox=
"0 0 400 300" version=
"1.1" xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink">
6 <text x=
"10" y=
"20">Testing xml:
space=
"default" support:
</text>
8 <text x=
"10" y=
"40" xml:
space=
"default">
15 <text x=
"10" y=
"60" xml:
space=
"default">Tabs become spaces
</text>
16 <text x=
"10" y=
"80" xml:
space=
"default"> No leading space
</text>
17 <text x=
"10" y=
"100" xml:
space=
"default">No trailing space
</text>
18 <text x=
"10" y=
"120" xml:
space=
"default">Whitespace is simplified
</text>
20 <text x=
"10" y=
"160">Testing xml:
space=
"preserve" support:
</text>
22 <text x=
"10" y=
"180" xml:
space=
"preserve">
28 <text x=
"10" y=
"200" xml:
space=
"preserve">Tabs become spaces
</text>
29 <text x=
"10" y=
"220" xml:
space=
"preserve"> Respect leading space
</text>
30 <text x=
"10" y=
"240" xml:
space=
"preserve">Respect trailing space
</text>
31 <text x=
"10" y=
"260" xml:
space=
"preserve">Whitespace is not simplified
</text>