<submit> undefined variable

Hi Folks,
I'm back with another problem.
This time, I have a root document that looks similar to this:

-------------------------Root VXML Document-----------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="1.0">
		<var name="answer" /> 

<form id="abc">
....
<field name="answer" type="digits">
      <prompt> 
		    Please provide your employee code:
      </prompt>
	 <catch event="help nomatch noinput">
		    .....
	 </catch>
	<filled>
      	    <if cond="answer == false">
                    Goodbye.
                <exit/>
                </if>
		<submit next="http://server-name/voice/emp_detect.php"
method="post" namelist="answer" />
      </filled>
</field>
</form>
</vxml>
------------------------------------------------------------------

The emp_detect.php looks like this:
----------------------Emp_detect.php------------------------------
<?php
echo '<?xml version="1.0" encoding="ISO-8859-1"  ?>';
?>
<vxml version="1.0" application="http://server-name/voice/RootVxml.vxml" >
<form> 
<block>	
	<?php 
	print "Hello "."<value expr=\"application.answer\" />";
	?>
</block>
</form>
</vxml>
------------------------------------------------------------------


When I execute the app, the "Hello" message is heard followed by
"undefined".
To sum it up, I get to hear, "Hello Undefined". The value of "answer"
variable is not being passed 
from the root document to the child document.
Would be very helpful, if anyone can tell me where I'm going wrong.
Have a happy weekend folks!

Regards,
Vijay Williams












----------------------------------------------------------- NOTICE
------------------------------------------------------------  This email and
any files transmitted with it are confidential and are intended solely for
the use of the individual or entity to which they are addressed. Any use,
distribution, coping or disclosure by any other person is strictly
prohibited. If you received this transmission in error, please notify the
sender by reply email and then destroy the message. Opinions, conclusions
and other information in this message that do not related to official
business of NIIT shall be understood to be neither given nor endorsed by
NIIT when addressed to NIIT Clients, any information contained in this email
is subject to the terms and conditions in governing client contract.

Received on Friday, 16 May 2003 06:42:57 UTC