SVG – Learning by Coding
1: <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2: <?xml-stylesheet href="extern.css" type="text/css"?>
3: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
4: "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
5: <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
6: ]>
7:
8: <!-- SVG - Learning by Coding - http://www.datenverdrahten.de/svglbc/ -->
9: <!-- Author: Dr. Thomas Meinike 12/02 - thomas@handmadecode.de -->
10:
11: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
12:
13: <title>SVG - Learning by Coding</title>
14: <desc>SVG-Spezifikation in Beispielen</desc>
15:
16: <text x="20" y="30" style="fill: #000; font-size: 24px">
17: Einbindung einer externen CSS-Datei (PI xml-stylesheet)
18: </text>
19:
20: <circle cx="100" cy="100" r="30"/>
21: <rect id="abc123" x="50" y="150" width="150" height="75"/>
22: <text class="xyz" x="50" y="260">Kreis, Rechteck und Text wurden mit CSS formatiert.</text>
23:
24: <a xlink:href="../?doc=style" target="_top">
25: <text x="50" y="300" style="fill: #000; font-size: 18px">
26: Der Inhalt von extern.css entspricht dem im Beispiel style.svg verwendeten Code.
27: </text>
28: </a>
29:
30: </svg>
[zum Anfang]