At 08:29 PM 12/22/2001 +0100, Tobias Burnus wrote:
>Hi,
>
>I'd like to typeset some small XMLs which contains some simple SVGs.
>
>Such as
><?xml version="1.0"?>
><svg xmlns="http://www.w3.org/2000/svg";>
>   <g style="stroke:black; stroke-width:0.1cm;">
>      <circle cx="6cm" cy="2cm" r="100" style="fill:red;"
>              transform="translate(0,50)" />
>      <circle cx="6cm" cy="2cm" r="100" style="fill:blue;"
>              transform="translate(70,150)" />
>      <circle cx="6cm" cy="2cm" r="100" style="fill:green;"
>              transform="translate(-70,150)"/>
>   </g>
></svg>

It should not be a big problem to convert this into a startMPdrawing etc 
commands. The main job will be to interpret the style (quite messy, why not 
use key=val pairs) and transform (looks like the only xml thing about svg 
is the occasional use of <>).

If we can agree on a reasonable subset (with a clear definition of what 
means what) i can try to implement it.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to