Return to toap02.xml CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / SVG |
1.1 ! misho 1: <?xml version="1.0" standalone="no"?> ! 2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" ! 3: "http://www.w3.org/Graphics/SVG/svg-19990412.dtd"> ! 4: <svg width="4in" height="3in"> ! 5: <defs> ! 6: <symbol id="Triangle1" ! 7: min-x="0" min-y="0" max-x="300" max-y="200"> ! 8: <path d="M 50 0 L 50 200 L 250 0 z"/> ! 9: </symbol> ! 10: <symbol id="Triangle2" ! 11: min-x="0" min-y="0" max-x="300" max-y="200"> ! 12: <path d="M 50 0 L 250 200 L 250 0 z"/> ! 13: </symbol> ! 14: </defs> ! 15: ! 16: <desc>General graphics on a path ! 17: </desc> ! 18: ! 19: <text> ! 20: <textpath href="#MyPath"/> ! 21: <use href="#Triangle1"/> ! 22: <use href="#Triangle2"/> ! 23: <use href="#Triangle1"/> ! 24: <use href="#Triangle2"/> ! 25: <use href="#Triangle1"/> ! 26: <use href="#Triangle2"/> ! 27: <use href="#Triangle1"/> ! 28: <use href="#Triangle2"/> ! 29: <use href="#Triangle1"/> ! 30: <use href="#Triangle2"/> ! 31: </text> ! 32: ! 33: </svg>