On 17 Jan 2011, at 16:56, Cristi Cioriia wrote:
Hi Cristi
> Thanks for such a quick reply.
>
> Using your feedback I was able to advance a little: if I replace "Some text
> " from your sample with <xsl:value-of select="svg"/> I can see in my report
> the svg that is generated. What I need though is that this code is executed
> so that in the PDF report I have the actual image, not its SVG
> representation. Any hint on how can I achieve that?
Do you mean that the "svg" node in the source document contains the actual SVG?
In that case, I think you should be able to do something like:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:svg="http://www.w3.org/2000/svg">
...
<fo:instream-foreign-object>
<xsl:copy-of select="svg/svg:*" />
</fo:instream-foreign-object>
Regards,
Andreas
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]