[Home] [By Thread] [By Date] [Recent Entries]
Antonio Fiol wrote:
Hello again,<xsl:variable name="url">http://......svg...</xsl:variable> <fo:block> <fo:instream-foreign-object> <xsl:copy-of select="document($url)" /> </fo:instream-foreign-object> </fo:block> Sorry again. I solved the problem. The problem was not on the XSL but on the SVG. It did not contain width and height attributes and batik or fop took some (maybe wrong) defaults. The problem about missing elements was due to a transparency issue. I should have suspected when I saw [ERROR] ...(something about feComposite)... What I did was: - Adding width and height attributes to <svg/>. - Adding a <g transform="scale(0.5)" /> because the image was far too big. - Emptying the <filter/> element, keeping its attributes, so that batik does not complain when it finds references to it. Thank you all anyway. This is the most useful mailing list I ever subscribed. Antonio Fiol XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



