Hello
 
I want to embed a svg in my fo code
but this svg has an image and it doesn't work
 
can someone help me? (see fop code)
thanks
jf
 
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.

Reply via email to