diff options
author | Keiron Liddle <keiron@apache.org> | 2002-06-11 15:32:12 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-06-11 15:32:12 +0000 |
commit | 360495fe8ec5024ecec663ef65d23d61e66d63a9 (patch) | |
tree | 9188321f7899bc5e9746817c64ade58915acb7e9 /docs/examples | |
parent | 8ab1e827c0b0e0cb11858f639fb578f789d39cfc (diff) | |
download | xmlgraphics-fop-360495fe8ec5024ecec663ef65d23d61e66d63a9.tar.gz xmlgraphics-fop-360495fe8ec5024ecec663ef65d23d61e66d63a9.zip |
fixed xlink namespace and put text in a more suitable position
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194873 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/svg/external.fo | 4 | ||||
-rw-r--r-- | docs/examples/svg/multi.svg | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/svg/external.fo b/docs/examples/svg/external.fo index b42a3e5af..e96ef4760 100644 --- a/docs/examples/svg/external.fo +++ b/docs/examples/svg/external.fo @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink"> <fo:layout-master-set> <fo:simple-page-master margin-right="1.5cm" @@ -79,7 +79,7 @@ This inline svg document ( <image xlink:href="file:boxes.svg" x="10" y="10" width="20" height="20"/> </g> <g> - <use xlink:href="file:ref.svg#FOP" transform="scale(1.5)" x="18" y="40"/> + <use xlink:href="file:ref.svg#FOP" transform="scale(1.5)" x="12" y="25"/> </g> </svg> </fo:instream-foreign-object> diff --git a/docs/examples/svg/multi.svg b/docs/examples/svg/multi.svg index 9e68d9a30..bf492806d 100644 --- a/docs/examples/svg/multi.svg +++ b/docs/examples/svg/multi.svg @@ -2,13 +2,13 @@ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN" "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd"> -<svg width="60" height="40" xml:space="preserve"> +<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="60" height="40" xml:space="preserve"> <g style="fill:none;stroke:yellow"> <rect x="0" y="0" width="25" height="25"/> <image xlink:href="file:boxes.svg" x="10" y="10" width="20" height="20"/> </g> <g> - <use xlink:href="file:ref.svg#FOP" transform="scale(1.5)" x="18" y="40"/> + <use xlink:href="file:ref.svg#FOP" transform="scale(1.5)" x="12" y="25"/> </g> </svg> |