Last reviewed: 3/23/2024 12:26:37 PM

<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

<vxml>

Variables

none

Example

The following example illustrates declaring 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 VoiceXML document -->
   <rdf:Description about="http://www.example.com/meta.vxml"
       dc:Title="Directory Enquiry Service"
       dc:Description="Directory Enquiry Service for London in VoiceXML"
       dc:Publisher="W3C"
       dc:Language="en"
       dc:Date="2002-02-12"
       dc:Rights="Copyright 2002 John Smith"
       dc:Format="application/voicexml+xml" >                
       <dc:Creator>
          <rdf:Seq ID="CreatorsAlphabeticalBySurname">
             <rdf:li>Jackie Crystal</rdf:li>
             <rdf:li>William Lee</rdf:li>
          </rdf:Seq>
       </dc:Creator>
   </rdf:Description>
  </rdf:RDF>
 </metadata>
 <form>
    <block>  
       <prompt>Hello</prompt> 
    </block>
 </form>

Version Information

Supported in: VoiceXML 2.0, and VoiceXML 2.1.