svg-tree provides types representing a SVG document,
and allows to load and save it.
The types definition are aimed at rendering,
so they are rather comple. For simpler SVG document building,
look after lucid-svg.
To render an svg document you can use the rasterific-svg package