title: Voicexml how to store input into a global variable
body: <p>I'm creating a voicexml appliacation.</p>
  
  <p>I want to store an user input into a global variable.</p>
  
  <p>I wondered, the input should be stored in the fieldvar. shouldn't it? After I tried it with this, i tried to store it in an global variable:</p>
  
  <pre><code>&lt;assign name="myvar" expr="'myinput'"/&gt;
  </code></pre>
  
  <p>but somehow it didn't work. I used  value <code>expr="var"</code> as expr.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; 
  &lt;vxml xmlns="http://www.w3.org/2001/vxml" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.w3.org/2001/vxml 
     http://www.w3.org/TR/voicexml20/vxml.xsd"
     version="2.0"&gt;
  
  
  &lt;var name="myProdukt" /&gt;
  
  
  &lt;form id="test"&gt;
  
  &lt;field name="var"&gt;
  &lt;prompt bargein="true" bargeintype="hotword" &gt;Sagen Sie ein Produkt&lt;/prompt&gt;
  
  &lt;grammar root="main" version="1.0" xml:lang="de-DE"&gt;
  
    &lt;rule id="main" scope="public"&gt;
      &lt;one-of&gt;
        &lt;item&gt; p1 &lt;/item&gt;
        &lt;item&gt; p2 &lt;/item&gt;
        &lt;item&gt; p3 &lt;/item&gt;
        &lt;item&gt; p4   &lt;/item&gt;
      &lt;/one-of&gt;
    &lt;/rule&gt;
  
  &lt;/grammar&gt;
  
  
  
  &lt;filled&gt;
  &lt;assign name="myProdukt" expr="&lt;value expr="var"/&gt;"/&gt;
  &lt;/filled&gt;
  
  &lt;/field&gt;
  
  
  &lt;/form&gt;
  
  &lt;&lt;!--[...] Here i want to use the input.--&gt;
  
  &lt;/vxml&gt;
  </code></pre>
  
  <p>thanks in advance</p>
  
  <p>---------------EDIT:</p>
  
  <p>now i used this:</p>
  
  <pre><code>&lt;filled&gt;
  test
  &lt;assign name="myProdukt" expr="var" /&gt;
  &lt;/filled&gt;
  </code></pre>
  
  <p>I only changed that. The Applications says "test" but then there is an error.</p>
  
  <hr>
  
  <p>It isn'T allowed to use "var" instead I used an other name :-) </p>