如何在VXML中連接變量。考慮下面的例子VXML,如何在vxml中連接變量
<?xml version="1.0" encoding="UTF-8"?>
<vxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/vxml" version="2.0" xsi:schemaLocation="http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd">
<form>
<block>
<audio src="{url1}"/>
<audio src="{url2}"/>
</block>
<field name="dtmf">
<option dtmf="1" value="1"/>
<option dtmf="2" value="2"/>
<option dtmf="2" value="3"/>
<filled>
<submit next="{url3}" namelist="action toneId dtmf" method="get"/>
</filled>
</field>
<noinput>
<reprompt/>
</noinput>
<nomatch>
<reprompt/>
</nomatch>
</form>
</vxml>
{URL3} = {一些字符串} + {一些變量=值},我想這樣的,有URL3得到concating兩個價值。
請告訴我如何獲得
我想我很困惑你的要求。如果您的意思是您希望輸入值位於url中,請將我使用的servleName替換爲字段名稱dtmf,因爲它將設置爲輸入值。您已經提供輸入作爲請求參數的一部分。 –
謝謝,但我想知道一點關於具體的兩個** vxml **變量。 –