hi,
the below script will add svg drawings to my pdf. the problem is I want the drawing to be specific in each case.
I have tried using a select inside but that doesn't work
Can this be done?
the below script will add svg drawings to my pdf. the problem is I want the drawing to be specific in each case.
Code:
<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>
Code:
<image xlink:href="<xsl:value-of select='svgdrawing'/>" x="-27cm" y="1cm" width="70cm" height="40cm"/>
Comment