开发者

It is possible to access the DOM of a VoiceXML document? How?

开发者 https://www.devze.com 2023-03-16 17:43 出处:网络
With thetag \"data\" I can only access stat开发者_运维技巧ic data. Instead I would like to write something like:

With the tag "data" I can only access stat开发者_运维技巧ic data. Instead I would like to write something like:

"getElementsByTagName('field').item(0).nodeValue"

in order to retrieve the value of the field just after that has been inserted.

(I know that there are other ways to obtain the same effect but I am interested in this specific topic).

Thanks!


It is not normally possible to access the DOM of the VoiceXML document itself. (I can't think of any circumstances where this is necessary.)


There is no such mechanism in the the W3C VoiceXML 2.0/2.1 specification. VoiceXML is not as dynamic as HTML is.

0

精彩评论

暂无评论...
验证码 换一张
取 消