> For the complete documentation index, see [llms.txt](https://docs.plumvoice.com/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plumvoice.com/dev/voicexml/tags/value-tag.md).

# \<value>

## \<value> <a href="#value" id="value"></a>

The `<value>` element is used to insert the value of an expression into a prompt.

### Attributes

<table><thead><tr><th width="174.33333333333331">Name</th><th width="162">Data type<select><option value="c106065819cc46539d33f735d5305f76" label="String" color="blue"></option><option value="4b25009268a343458eec1a9254b8cc0f" label="Integer" color="blue"></option><option value="03733e05bb6e4d4cb6feed96d1714c4a" label="Boolean" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td>expr</td><td><span data-option="c106065819cc46539d33f735d5305f76">String</span></td><td>The expression to render.</td></tr></tbody></table>

### Notes

None

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <var name="test_var"/>
    <block>
      <assign name="test_var" expr="1234"/>
    </block>
    <block>
      <prompt>
        The test variable is set to <value expr="test_var"/>.
      </prompt>
    </block>
  </form>
</vxml>
```

The output of the above script would be:

> Computer: The test variable is set to twelve hundred thirty-four.

### Child Tags

None

### Parent Tags

[\<audio>](/dev/voicexml/tags/audio-tag.md), [\<block>](/dev/voicexml/tags/block-tag.md), [\<catch>](/dev/voicexml/tags/catch-tag.md), [\<emphasis>](/dev/voicexml/tags/emphasis-tag.md), [\<enumerate>](/dev/voicexml/tags/enumerate-tag.md), [\<error>](/dev/voicexml/tags/error-tag.md), [\<field>](/dev/voicexml/tags/field-tag.md), [\<filled>](/dev/voicexml/tags/filled-tag.md), [\<foreach>](/dev/voicexml/tags/foreach-tag.md), [\<help>](/dev/voicexml/tags/help-tag.md), [\<if>](/dev/voicexml/tags/if-tag.md), [\<initial>](/dev/voicexml/tags/initial-tag.md), [\<log>](/dev/voicexml/tags/log-tag.md), [\<menu>](/dev/voicexml/tags/menu-tag.md), [\<noinput>](/dev/voicexml/tags/noinput-tag.md), [\<nomatch>](/dev/voicexml/tags/nomatch-tag.md), [\<paragraph>](/dev/voicexml/tags/paragraph-tag.md), [\<prompt>](/dev/voicexml/tags/prompt-tag.md), [\<prosody>](/dev/voicexml/tags/prosody-tag.md), [\<record>](/dev/voicexml/tags/record-tag.md), [\<say-as>](/dev/voicexml/tags/say-as-tag.md), [\<sentence>](/dev/voicexml/tags/sentence-tag.md), [\<speak>](/dev/voicexml/tags/speak-tag.md), [\<subdialog>](/dev/voicexml/tags/subdialog-tag.md), [\<transfer>](/dev/voicexml/tags/transfer-tag.md), [\<voice>](/dev/voicexml/tags/voice-tag.md)
