I am working on a template engine that generates image/svg+xml for site graphics.
Is there a way to export this that would export/save them as a file?
PNG would be preferable, because of transparency.
Something even better would capture the HTML and CSS for offline view.
Apache Batik has tools to rasterize SVG and export the result as PNG (among other formats).