I have a SVGDocument to which i want to append a SVG element. The SVG element is retrieved from a DB as SVG fragment in plain text (from a MySQL TEXT field), something like this:

<g id="toolbar" style="fill-rule:nonzero;clip-rule:nonzero;fill:#FFE95F;stroke:#000000; stroke-width:5;stroke-miterlimit:4;" visibility="visible">
<path id="toolBk" style="stroke-width:1;" d="M100.5,402.5H0.5V2.5h100v400z"/>
</g>


How can i parse this SVG fragment into a SVGGElement so i can then append it to my DOM tree?

Thanks,

Andres.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to