Can I use Xerces-C++ (DOM) to generate SVG file?

 

I tried but attribute "xmlns" have a value ("svg") not recognized by SVG
viewer (Explorer, Mozilla, Inkscape)

I used Xerces 2.8.0. See below the generated file.

I tried to change attribute value of "xmlns" without success (also I can
not remove it).

 

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<!DOCTYPE svg>

<svg xmlns="svg" height="200" width="320">

  <g style="font-size:14">

    <rect height="20" style="stroke:node; fill:red" width="29" x="100"
y="20"/>

    <text x="20" y="35">North</text>

  </g>

</svg>

 

Thanks.

lecf

Reply via email to