Home > Articles > Web Services > XML

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

3.31 metadata

Element type

metadata

Attributes

None.

Parents

vxml

Children

External metadata elements such as RDF or Dublin Core.

Description

Provides metadata for this VoiceXML document using a metadata schema such as RDF (Resource Description Framework).

Language model

03fig31.gif

DTD

<!ELEMENT metadata >

Attributes

None.

Children

External metadata elements such as RDF or Dublin Core.

Examples

Example 3-37 Using metadata

<?xml version="1.0" encoding="iso-8859-1"?>
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
<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>
</vxml>
  • + Share This
  • 🔖 Save To Your Account