Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSL +FOP + SVG

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi!

I want to put a SVG Graphik into a PDF File using a XSL Stylesheet. My problem is that I did'nt finde any way to set the size of the SVG inside the Stylesheet. I tried it like this, but it doesnt work.

<fo:external-graphic height=&quot;5cm&quot;>
<xsl:attribute name=&quot;src&quot;>
<xsl:text>url('</xsl:text>
<xsl:value-of select=&quot;$imageFileName&quot;/>
<xsl:text>') </xsl:text>
</xsl:attribute>
</fo:external-graphic>

Thx in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top