<meta>

Defines a meta-data item as a name/value pair. Can be used either in defining a grammar in the XML grammar or in defining a VoiceXML document.

Syntax

 <meta
     name="string"
     http-equiv="string" 
     content="string" 
 />

Description

Attribute Description
name

Name of the meta-data property. Optional (as an alternative to http-equiv).

This form lets you provide general document information such as author, copyright, description, keywords, and so on.

In particular, you can set the name attribute to maintainer to have the trace log emailed to the user specified in the content attribute after the call. For a description of the log file, see Log Access Service.

http-equiv

Name of an HTTP response header. Optional (as an alternative to name).

This form lets you provide information to use in HTTP response headers. For example:

<meta http-equiv="Cache-control" content="max-age 10"/>
<meta http-equiv="Expires" content="02 Feb 2002 23:59:59 GMT"/>

While you are allowed to use this form of the <meta> tag to provide caching information about VoiceXML documents and grammars, we do not recommend you do this if you have a choice. If possible, you should place this information directly in your HTTP response headers.

content

Value of the meta-data property.

Usage

Parents Children
<vxml>
<grammar>

None.

Allowed as a child of the <grammar> tag only when defining a grammar using the XML grammar format.

Exceptions

error.badfetch - If both the name and http-equiv attributes are specified.

See Also

 •  VoiceXML 2.0 Specification: <meta>
 •  Chapter  4, XML Speech Grammar Format in the Grammar Reference

Examples

 <?xml version="1.0" ?>
 <!DOCTYPE vxml PUBLIC "-//BeVocal Inc//VoiceXML 2.0//EN"
  "http://cafe.bevocal.com/libraries/dtd/vxml2-0-bevocal.dtd">
 
 <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
   <!--Replace myName@myCompany.com with your emailAddress in the meta tag 
line.--> 
   
   <meta name="author" content="bevocal"/> 
   <meta name="maintainer" content="myName@myCompany" />
   <form>
     <block>
       <prompt>
         Welcome to the BeVocal Cafe. The client log is emailed
         to the maintainer. Please check your email.
       </prompt>
     </block>
   </form>
 </vxml>

[Show Frames]   [FIRST] [PREVIOUS] [NEXT]
BeVocal, Inc. Café Home | Developer Agreement | Privacy Policy | Site Map | Terms & Conditions
Part No. 520-0001-02 | © 1999-2007, BeVocal, Inc. All rights reserved | 1.877.33.VOCAL