2. Format description
2.1 File structure
As we have seen, an SVG file is a structured document that complies with XML grammar. First and foremost, it must therefore be a valid XML document and begin with a header specifying the version of XML used. In this case, SVG is based on version 1.0. A file must therefore begin with a header that looks like this:
The second attribute (standalone) specifies whether the XML document that follows is a separate XML file (most common use in the case of SVG) or an XML fragment included in another document.
All elements in an SVG file are described using XML tags. Each tag must be opened:
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Digital documents and content management
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Format description
Bibliographic references
- (1) - W3C - PNG (Portable Network Graphic) Specification 1.0 a W3C Recommendation - (1996). http://www.w3.org/TR/REC-png-multi.html
- (2) - Microsoft, Hewlett-Packard, Macromedia,...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference