Description
Specifies general information about the SSML document rather than specifying the document's content, by using a metadata schema.
Although any metadata schema can be used with <metadata>,
it is recommended that the Resource Description Framework (RDF) schema be
used in conjunction with the general metadata properties defined in the
Dublin Core Metadata Initiative.
The <metadata> element can have arbitrary content,
although none of the content will be rendered by the synthesis
processor.
Note: A <metadata> element exists as well
for grammars.
Syntax
<metadata> RDF schema </metadata> |
Parents
<audio>, <choice>, <enumerate>, <foreach>, <prompt>, <speak>
Children
CDATA, #PCDATA
Limitations/Restrictions
<metadata> is only supported as a child of <foreach> when
<foreach> is used within <prompt>.
Example
To include speech markup tags, insert the SSML tags inside one of the
<prompt>, <audio>, <choice>,
<enumerate>, or <foreach> (within
<prompt>) elements.
<prompt>
<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 synthesis document -->
<rdf:Description about="http://www.example.com/meta.ssml"
dc:Title="Hamlet-like Soliloquy"
dc:Description="Aldine's Soliloquy in the style of Hamlet"
dc:Publisher="W3C"
dc:Language="en-US"
dc:Date="2002-11-29"
dc:Rights="Copyright 2002 Aldine Turnbet"
dc:Format="application/ssml+xml">
<dc:Creator>
<rdf:Seq ID="CreatorsAlphabeticalBySurname">
<rdf:li>William Shakespeare</rdf:li>
<rdf:li>Aldine Turnbet</rdf:li>
</rdf:Seq>
</dc:Creator>
</rdf:Description>
</rdf:RDF>
</metadata>
Hello, world!
</prompt> |