Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
meta

meta

Specifies general information about the VoiceXML document.

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

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).

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.

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>

Community Additions

ADD
Show:
© 2015 Microsoft