# Use Inkscape for conversion. Most other tools fail because they miss CSS support # and/or create ugly redered graphics. # Inkscape in combination with external CSS file fails also, see comments and # recommended workarround in CSS file. inkscape --export-pdf=simple.pdf simple.svg inkscape --export-png=simple.png simple.svg # use xmllint for XML validation xmllint --dtdvalid http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20110816.dtd simple.svg