W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2012

Property element value is just a string and not a expression

From: Ankur rungta <ankur.rungta@huawei.com>
Date: Wed, 25 Apr 2012 10:30:24 +0000
To: "'www-voice@w3.org'" <www-voice@w3.org>
Message-id: <DCCBF69B73905A41B65A5EBC75F7D8952820F7A5@szxeml525-mbx.china.huawei.com>
Hi,

Property element value attribute is just a string and not a variable which can be evaluated.

Example:
<var name="path1" expr="'D:\abcd.html'"/>
<property name="path" value="path1"/>

Here the value of the property path would be path1 only as it is a string and not  D:\abcd.html.
The property values are stored in the internal data structure which can be queried in between by the application.
But in some cases application using the vxml script can try to get the user defined property values which can be changed in the runtime between execution of script.
Is there any way for the application to get a variable value which can be changed in between scripts.

Regrads,
Ankur Rungta.
Received on Thursday, 26 April 2012 13:18:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 13:18:10 GMT