<meta>

Specifies metadata—information about the VoiceXML document itself, for example, author or copyright information. When used within a <prompt> or <grammar> element, this element may specify a TTS or recognition property that will apply for that specific speech synthesis or recognition.

One particularly important use of the <meta> element is to set the secure_context property to prevent sensitive information from being recorded in logs.

Note: The http-equiv attribute can be used to specify or override HTTP response header information. See http-equiv for details.

Attributes

This section describes the attributes you can set for this element.

Name

Data type

Default

content

CDATA

required

http-equiv

NMTOKEN

optional

Only one of http-equiv or name must be specified.

name

NMTOKEN

optional

content

The content attribute specifies the value of the metadata property.

Note: When used with the http-equiv attribute, the value of the content attribute specifies the value for the given HTTP response header. For example:

<vxml>
    <!-- Modify the http headers and mark this document as
      non-cacheable. -->
    <meta http-equiv="Cache-Control" content="no-cache"/>
</vxml>

http-equiv

If <meta> is used in a VoiceXML document, the http-equiv attribute specifies the name of the HTTP response header that is honored.

If the <meta> element is used in a <prompt>, this attribute is ignored.

name

The name attribute specifies the name of the metadata property.

Children

None.

Parents

Sample code

<vxml>
    <!-- Modify the http headers and mark this document as
    non-cacheable. -->
        <meta http-equiv="Cache-Control" content="no-cache"/>
</vxml>