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