<Body>
<p>
The primary aim is to enable the parsing of all SVG elements
- as described in the document "WD-SVG-20000303.pdf". This applies
+ as described in the document "WD-SVG-20000629.pdf". This applies
to the stylable elements.
</p>
<p>
The java interface is available from -
- "http://www.w3.org/TR/2000/03/WD-SVG-20000303/java-binding-stylable.zip"
+ "http://www.w3.org/TR/2000/WD-SVG-20000629/java-binding.zip"
</p>
<p>
As the SVG elements include information for animation and
<?xml version="1.0"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="Document">
<fo:root>
<?xml version="1.0"?>
<!DOCTYPE Diagrams SYSTEM "diagrams.dtd">
-<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<Diagram entry="apache-foplogo">
<svg:svg width="15cm" height="10cm" viewBox="0 0 1000 300">
<svg:rect x="30pt" y="30pt" width="50pt" height="80pt"/>
<?xml version="1.0"?>
<!DOCTYPE Diagrams SYSTEM "diagrams.dtd">
-<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<Diagram entry="overall">
<svg:svg width="400pt" height="200pt">
<?xml version="1.0"?>
<!DOCTYPE Diagrams SYSTEM "diagrams.dtd">
-<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<Diagram entry="examples">
<svg:svg width="400pt" height="150pt">
<svg:desc>Examples for demonstrating SVG elements in FOP</svg:desc>
-<?xml version="1.0"?>
+<?xml version="1.0" standalone="no"?>
<!DOCTYPE Diagrams SYSTEM "diagrams.dtd">
-<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<Diagram entry="misc-gradients">
<svg:svg width="600" height="600">
<svg:defs>
<?xml version="1.0"?>
<!DOCTYPE Diagrams SYSTEM "diagrams.dtd">
-<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<Diagrams xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<Diagram entry="mozilla-xml">
<svg:svg xml:space="preserve" width="760" height="580" preserveAspectRatio="meet meet"
viewBox="0 0 751.859 576.421">
<?xml version="1.0" standalone="yes"?>
<!--
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
- "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000629 Stylable//EN"
+ "http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
-->
-<svg:svg width="300px" height="100px" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="300px" height="100px" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Initial Coords</svg:title>
<svg:desc>Example InitialCoords - SVG's initial coordinate system</svg:desc>
<svg:g style="fill:none; stroke:black; stroke-width:3">
<svg:text x="240" y="20">(300,0)</svg:text>
<svg:text x="10" y="90">(0,100)</svg:text>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<svg:svg width="400" height="200"
- xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+ xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:g transform="matrix(1 0.3 0.2 1.3 30 0)" style="stroke: black; stroke-width: 1; fill: none">
<svg:rect x="20" y="20" width="100" height="100"/>
<svg:line x1="20" y1="20" x2="120" y2="120"/>
<svg:svg width="300pt" height="300"
- xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+ xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:g transform="matrix(1 0 0 1 100 100)">
<svg:line x1="2.5354700cm" y1="0.1193636cm" x2="1.4331060cm" y2="0.5915131cm"/>
<svg:line style="fill:#0d0; stroke-width:0.1cm" x1="3.2414132cm" y1="-0.9916716cm" x2="2.5354700cm" y2="0.1193636cm"/>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="400px" height="150px" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="400px" height="150px" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Nested</svg:title>
<svg:desc>Example Nested - Nested transformations</svg:desc>
</svg:g>
</svg:g>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="300px" height="300px" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="300px" height="300px" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Redefining CSS Units</svg:title>
<svg:desc>Transformation with establishment of a new viewport
</svg:desc>
<svg:text x="10" y="70" style="font-size: 12px">This prints 36 pixels high.</svg:text>
</svg:svg>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="400px" height="150px" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="400px" height="150px" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>NewCoordSys</svg:title>
<svg:desc>Example NewCoordSys - New user coordinate system</svg:desc>
ABC (translated coord system)
</svg:text>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="4in" height="3in" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="4in" height="3in" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>New Viewport</svg:title>
<svg:desc>This SVG drawing embeds another one,
thus establishing a new viewport
<svg:rect width="100%" height="100%" style="fill:blue"/>
</svg:svg>
<svg:rect x="25%" y="25%" width="50%" height="50%" style="stroke:black; stroke-width:3"/>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="400px" height="150px" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="400px" height="150px" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>OrigCoordSys</svg:title>
<svg:desc>Example OrigCoordSys - Simple transformations: original picture</svg:desc>
<svg:g style="fill:none; stroke:black; stroke-width:3">
ABC (orig coord system)
</svg:text>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="480px" height="270px" style="font-family:Verdana; font-size:8" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="480px" height="270px" style="font-family:Verdana; font-size:8" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>PreserveAspectRatio</svg:title>
<svg:desc>Example PreserveAspectRatio - demonstrate available options</svg:desc>
</svg:g>
</svg:svg>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="400px" height="120px" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="400px" height="120px" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>RotateScale</svg:title>
<svg:desc>Example RotateScale - Rotate and scale transforms</svg:desc>
</svg:text>
</svg:g>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="600" height="600" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="600" height="600" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:defs>
<svg:marker id="Triangle"
style="stroke:rgb(255,255,0); stroke-width:8; stroke-dasharray: 5 5 10 5 15 5 10 5;
marker-start:url(#Circle);marker-end:url(#Triangle)" />
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="400px" height="120px" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="400px" height="120px" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Skew</svg:title>
<svg:desc>Example Skew - Show effects of skewX and skewY</svg:desc>
<svg:g style="fill:none; stroke:black; stroke-width:3">
</svg:text>
</svg:g>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="200" height="200" viewBox="-100, -100, 200, 200" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="200" height="200" viewBox="-100, -100, 200, 200" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Nested verses Transform list test</svg:title>
<svg:desc>This is to test that the transformations are being applied in
the correct order. Both squares should be first filled and
<svg:rect x="20" y="20" width="20" height="20" style="stroke:black;stroke-width:2"/>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="4in" height="3in" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="4in" height="3in" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Units</svg:title>
<svg:desc>Demonstration of coordinate transforms
</svg:desc>
because the CSS unit specifier has been provided. -->
<svg:text x="5" y="50" style="font-size: 12px">This prints 12 pixels high.</svg:text>
</svg:g>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="10cm" height="3cm" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="10cm" height="3cm" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Use01</svg:title>
<svg:desc>Example Use01 - Simple case of 'use' on a 'rect'</svg:desc>
<svg:defs>
<svg:rect id="MyRect" width="6cm" height="1cm" style="fill:black"/>
</svg:defs>
<svg:use x="2cm" y="1cm" xlink:href="#MyRect" />
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="10cm" height="3cm" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="10cm" height="3cm" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>Use02</svg:title>
<svg:desc>Example Use02 - 'use' on a 'symbol'</svg:desc>
<svg:defs>
</svg:defs>
<svg:use x="4.5cm" y="1cm" width="1cm" height="1cm"
xlink:href="#MySymbol" style="fill:black" />
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
-<svg:svg width="10cm" height="3cm" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+<svg:svg width="10cm" height="3cm" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:desc>Example Use03 - 'use' with a 'transform' attribute</svg:desc>
<svg:defs>
<svg:rect id="MyRect" x="0" y="0" width="6cm" height="1cm"/>
</svg:defs>
<svg:use xlink:href="#MyRect" transform="translate(2cm,.25cm) rotate(10)" style="fill:black"/>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
<svg:svg width="300px" height="200px"
- viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+ viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>ViewBox1</svg:title>
<svg:desc>Example ViewBox1 - uses the viewBox
attribute to automatically create an initial user coordinate
<svg:text x="100" y="600" style="font-size:180; font-family:Verdana">
Stretch to fit
</svg:text>
-</svg:svg>
\ No newline at end of file
+</svg:svg>
<?xml version="1.0" standalone="yes"?>
<svg:svg width="150px" height="200px"
- viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
+ viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
<svg:title>ViewBox2</svg:title>
<svg:desc>Example ViewBox2 - uses the viewBox
attribute to automatically create an initial user coordinate
<svg:text x="100" y="600" style="font-size:180; font-family:Verdana">
Stretch to fit
</svg:text>
-</svg:svg>
\ No newline at end of file
+</svg:svg>