A.3 Root

Here’s a typical root svg element of an Inkscape SVG document with a number of namespace declarations and other attributes:

<svg xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:cc="http://web.resource.org/cc/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:svg="http://www.w3.org/2000/svg"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
     xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
     sodipodi:docname="file.svg"
     width="1052.3622"
     height="744.09448"
     id="svg2"
     sodipodi:version="0.32"
     inkscape:version="0.46"
     version="1.0">

SVG uses the SVG namespace (http://www.w3.org/2000/svg) for its own elements and the XLink namespace ...

Get The Book of Inkscape now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.