Selber Jean-Fran�ois wrote:

fop code:
<fo:instream-foreign-object>
     <svg:svg xmlns:svg="http://www.w3.org/2000/svg"; width="3.1cm" 
height="3.6cm">

 <svg:rect x="0" y="0" width="3cm" height="3.5cm" fill="black"></svg:rect>
 <svg:rect x="0.1cm" y="0.1cm" width="3cm" height="3.5cm" 
fill="black"></svg:rect>
 <svg:image x="1" y="1" width="2.9cm" height="3.4cm" 
xlink:href="file://C:\photo.jpg"/>

</svg:svg>

    </fo:instream-foreign-object>

error:
[Fatal Error] :162:122: The prefix "xlink" for attribute "xlink:href" is not 
bound.
FATAL ERROR: The prefix "xlink" for attribute "xlink:href" is not bound.

This is just a guess (I haven't actually used SVG in my FO files yet!), but perhaps it's having problems with the path? Try putting the .jpg file locally to the FO file. If you're combining an input XML & XSL file fop.bat -xml input.xml -xsl input.xsl -awt (or whatever output), the photo.jpg needs to be relative to the XML file.


Hope this helps!

Web Maestro Clay

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to