Wrapper around encoding/xml.Decode to facilitate the Inversion of Control pattern and provide a domain object model builder.
The enclosed svg package is a simplistic SVG11 renderer that can parse a DOM from the above. The following elements are (mostly) supported: svg defs use g line rect circle ellipse polyline polygon path clipPath
The svgrender command (xml/svg/cmd) can read either the standard input or the supplied file and render it to svgrender.png.