Skip to content

XML: The Workings of SVG

Sheep903 edited this page Mar 30, 2023 · 2 revisions

How to read an XML file

Content of XML is represented with "..."

Header Element

<? ... ?> or <! ... >
This currently isn't implemented, you can safely ignore it (for now)

Content Element

< ... />

For multiple lines, start with < ... >
And ends with </ ... >

Comment Element

<!-- ... -->
Its a comment, anything between is a comment

How SVG implements XML

SVG has shapes
Shapes are in content elements
Containers are on multiple line content elements

Clone this wiki locally