Click to See Complete Forum and Search --> : xsl fo and svg problem


tes1981
12-18-2008, 06:14 AM
hi,

the below script will add svg drawings to my pdf. the problem is I want the drawing to be specific in each case.

<xsl:for-each select="quote/panels/panel">
<!-- Nextpage: SVG Drawings -->
<fo:block break-before="page">

<fo:instream-foreign-object>

<svg xmlns="http://www.w3.org/2000/svg" width="29.7cm" height="29.7cm" xml:space="preserve">

<g transform="rotate(-90)">
<image xlink:href="00004.svg" x="-27cm" y="1cm" width="70cm" height="40cm"/>
</g>

</svg>

</fo:instream-foreign-object>

</fo:block>
</xsl:for-each>


I have tried using a select inside but that doesn't work


<image xlink:href="<xsl:value-of select='svgdrawing'/>" x="-27cm" y="1cm" width="70cm" height="40cm"/>