Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
meta element
Specifies general information about the VoiceXML document.
Syntax
<meta
content = "string"
http-equiv = "string"
name = "string"
/>
Attributes
content |
Required. The value of name. |
http-equiv |
The name of an HTTP response header (if name is not specified). |
name |
A label identifying the type of meta information specified by content. You can define any type (if http-equiv is not specified). |
Parents
Children
None.
Remarks
The name and http-equiv attributes are mutually exclusive. When specifying a meta element, one of these attributes is required.
The information specified using the meta element is programmatically available as read-only variables named session.meta.name. This feature is a Tellme extension.
Examples
In this example, some meta elements are set and then used programmatically within the application.
<?xml version="1.0"?>
<vxml version="2.1"
xmlns="http://www.w3.org/2001/vxml">
<meta name="author" content="John Smith" />
<meta name="version" content="2.5.1" />
<form>
<block>
This application was written by
<value expr="session.meta.author" />
The version is <value expr="session.meta.version" />
<exit />
</block>
</form>
</vxml>