Last reviewed: 3/23/2024 8:48:51 AM
In this article
<metadata>
A <metadata> element define metadata information using a metadata schema.
Syntax
<metadata creator="string"
rights="string"
subject="string"/>
Attributes
creator
An entity primarily responsible for making the content of the resource.
rights
Information about rights held in and over the resource.
subject
The topic of the content of the resource. Typically, a subject will be expressed as keywords, key phrases or classification codes. Recommended best practice is to select values from a controlled vocabulary or formal classification scheme.
Children
See RDF syntax.
Parents
Example
The following example illustrates using metadata.
<metadata>
<rdf:RDF
xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs = "http://www.w3.org/TR/1999/PR-rdf-schema-19990303#"
xmlns:dc = "http://purl.org/metadata/dublin_core#">
<!-- Metadata about the grammar document -->
<rdf:Description about="http://www.example.com/meta.grxml"
dc:Title="Digit Grammar"
dc:Description="Digit Grammar in W3C XML Form"
dc:Publisher="W3C"
dc:Language="en"
dc:Date="2002-02-14"
dc:Rights="Copyright 2002 Jan Smith"
dc:Format="application/srgs+xml" >
<dc:Creator>
<rdf:Seq ID="CreatorsAlphabeticalBySurname">
<rdf:li>Jackie Crystal</rdf:li>
<rdf:li>Jan Smith</rdf:li>;
</rdf:Seq>
</dc:Creator>
</rdf:Description>
</rdf:RDF>
</metadata>