If you look in the examples/svg directory there are some examples of
including external svg documents.
>From this you should be able to do something like:
<fo:instream-foreign-object>
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40"
xml:space="preserve">
<g>
<image xlink:href="file:mysvg.svg" x="10" y="10" width="20mm"
height="20mm"/>
</g>
</svg>
</fo:instream-foreign-object>
On Tue, 26 Jun 2001 14:07:32 Thorsten Weiler wrote:
> Hi,
>
> after reading your mail archive I got no solution for this problem:
> I created a SVG-File like:
>
> <svg width="125" height="125">
> <g style="fill:red; stroke:#00ff00">
> <rect x="0" y="0" width="100" height="100"/>
> <rect x="25" y="25" width="100" height="100"/>
> </g>
> </svg>
>
> and I would like to embed this file in a fo-document with
> ...
> <fo:block>
> <fo:external-graphic src="file:mysvg.svg"/>
> </fo:block>
> ...
> and it should be scaled in an area say 20mm x 20mm
> I tried all the examples in your archive using the viewBox attribute but
> it
> does not work.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]