/ libxml2 / result / SVG / bike.xml
bike.xml
 1  <?xml version="1.0"?>
 2  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
 3  <svg width="4in" height="3in">
 4    <title>Kona Lavadome mountain bike
 5    </title>
 6    <desc>This picture shows a mountain bike, a human-propelled, 
 7    multi-terrain vehicle. While it can be succesfully used on moorland, 
 8    forest, roads, and large hills it is not actually suitable for going 
 9    up mountains.
10    </desc>
11    <g id="bike">
12      <defs>
13        <symbol id="spoke">
14          <desc>14/12 gauge double butted spoke</desc>
15  <!-- the path data goes here -->
16        </symbol>
17        <symbol id="hub">
18          <desc>black anodised low torsion hub</desc>
19  <!--the path data goes here -->
20        </symbol>
21        <symbol id="rim">
22          <desc>twin wall, eyeletted rim</desc>
23  <!-- the path data goes here-->
24        </symbol>
25        <symbol id="cogs">
26          <desc>8 speed, wide ratio gearing</desc>
27  <!--the path data goes here -->
28        </symbol>
29        <symbol id="lacing">
30          <desc>double cross lacing of 32 spokes</desc>
31        </symbol>
32      </defs>
33  <!-- the overall bike drawing goes here -->
34      <g id="frontwheel">
35        <title>Front wheel</title>
36        <desc>The front wheel provides grip, steering and some shock absorption</desc>
37        <use href="id(lacing)" style="rotation: 20deg; fillcolor: black"/>
38      </g>
39      <g id="backwheel"/>
40      <g id="frame">
41  <!-- and so on -->
42      </g>
43    </g>
44  </svg>