19 Metadata



19.1 Introduction

Metadata is information about a document.

RDF is the appropriate language for metadata. The specifications for RDF can be found at:

Metadata within an SVG document should be expressed in the appropriate RDF namespaces and should be placed within the <metadata> child element to the document's <svg> root element. (See Example below.)

Here are some suggestions for content creators regarding metadata:

Individual industries or individual content creators are free to define their own metadata schema, but everyone is encouraged to follow existing metadata standards and use standard metadata schema wherever possible to promote interchange and interoperability. If a particular standard metadata schema does not meet your needs, then it is usually better to define an additional metadata schema in RDF which is used in combination with the given standard metadata schema than to totally avoid the standard schema.

19.2 The SVG Metadata Schema

(This schema has not yet been defined. Here are some candidate attributes for the schema: MeetsAccessibilityGuidelines, UsesDynamicElements, ListOfExtensionsUsed, ListOfICCProfilesUsed, LiistOfFontsUsed, ListOfImagesUsed, ListOfForeignObjectsUsed, ListOfExternalReferences.)

19.3 An Example

Here is an example of how metadata can be included in an SVG document. The example uses the Dublin Core version 1.0 schema and the SVG metadata schema:

<?xml version="1.0" standalone="yes"?>
<svg width="4in" height="3in"
    xmlns = 'http://www.w3.org/Graphics/SVG/SVG-19990812.dtd'>
    <desc>Floor layout for MyCompany office space</desc>
               xmlns:rdf = "http://www.w3.org/...-rdf-syntax-ns"
               xmlns:rdfs = "http://www.w3.org/TR/...-schema"
               xmlns:dc = "http://purl.org/dc/elements/1.0/"
               xmlns:svgmetadata = "http://www.w3.org/..." >
        <rdf:Description about=""
                 dc:title="MyCompany Floor Layout"
                 dc:description="Floor layout for MyCompany office space"
                 dc:publisher="MyCompany Incorporated"
                 dc:language="en" >
                <rdf:li>Billy Potts</rdf:li>
                <rdf:li>Mary Graham</rdf:li>
          <svgmetadata:General MeetsAccessibilityGuidelines="true"/>

Download this example