]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
corrected relative urls for external-graphic in examples
authorChristian Geisert <chrisg@apache.org>
Thu, 9 Jan 2003 01:10:48 +0000 (01:10 +0000)
committerChristian Geisert <chrisg@apache.org>
Thu, 9 Jan 2003 01:10:48 +0000 (01:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195835 13f79535-47bb-0310-9956-ffa450edef68

docs/examples/fo/images.fo
docs/examples/fo/list.fo
docs/examples/svg/external.fo

index e9efb53d1fe79b82b7b753c6746dd234501179ba..5bcbac26b72d842174999f86e7a33e4d21609b92 100644 (file)
 <fo:block id="N2531">
   <fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A GIF image in FOP</fo:block>
   <fo:block>
-    <fo:external-graphic src="file:../../graphics/xml_feather.gif"/>
+    <fo:external-graphic src="url(../../graphics/xml_feather.gif)"/>
   </fo:block>
 </fo:block>
 <fo:block id="N2535">
   <fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A transparent GIF image in FOP</fo:block>
   <fo:block>
-    <fo:external-graphic src="file:../../graphics/xml_feather_transparent.gif"/>
+    <fo:external-graphic src="url(../../graphics/xml_feather_transparent.gif)"/>
   </fo:block>
 </fo:block>
 <fo:block id="N2545">
   <fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A JPEG image in FOP</fo:block>
   <fo:block>
-    <fo:external-graphic src="file:../../graphics/fop.jpg"/>
+    <fo:external-graphic src="url(../../graphics/fop.jpg)"/>
   </fo:block>
 </fo:block>
 <fo:block id="N2550">
   <fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A BMP image in FOP</fo:block>
   <fo:block>
-    <fo:external-graphic src="file:../../graphics/linux.bmp"/>
+    <fo:external-graphic src="url(../../graphics/linux.bmp)"/>
   </fo:block>
 </fo:block>
 <fo:block id="N2555">
   <fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A TIFF image in FOP (Only works with JAI!)</fo:block>
     <fo:block>
-      <fo:external-graphic src="file:../../graphics/xml_fax.tif"/>
+      <fo:external-graphic src="url(../../graphics/xml_fax.tif)"/>
     </fo:block>
 </fo:block>
 <fo:block id="N2559">
index 5d65b98af1231a95ac9348efc7f9bec747e5d84c..489eb482574f8358b9faac45c24c994f4d0b7f87 100644 (file)
            url: http://www.w3.org/TR/xsl/ -->
       <fo:block text-align="center"
                 space-before.optimum="0.5cm">
-        <fo:external-graphic src="file:../../graphics/listgeometry.gif"/>
+        <fo:external-graphic src="url(../../graphics/listgeometry.gif)"/>
       </fo:block>
       <fo:block font-size="10pt" 
             font-family="sans-serif"
index cdd37a8a27b0d14b1b03d82d548a8195e4107084..be2b8687e2321ee3604ac06481fcc421b6997921 100644 (file)
@@ -61,11 +61,11 @@ The following svg document is obtained from an external file using the fo:extern
       </fo:block>
 
       <fo:block>
-<fo:external-graphic src="file:boxes.svg"/>
+<fo:external-graphic src="url(boxes.svg)"/>
       </fo:block>
 
       <fo:block>
-This svg document (<fo:external-graphic src="file:multi.svg"/>) is also obtained from
+This svg document (<fo:external-graphic src="url(multi.svg)"/>) is also obtained from
 an external file using the fo:external-graphic. It has another svg image inside and references
 part of another svg image.
       </fo:block>
@@ -122,7 +122,7 @@ and
 
       <fo:block space-before.optimum="10pt">
 This example is an svg from an external image:
-<fo:external-graphic src="file:view.svg"/>
+<fo:external-graphic src="url(view.svg)"/>
 it has a viewbox that resizes the contents.
       </fo:block>