0
我想使用兩個例外。Voicexml如何使用異常
第一個: 用戶可以說(每次,在整個應用程序中)「停止」,然後程序退出。
第二:
我有以下代碼:
<form id="test">
<field name="test1">
<prompt bargein="true" bargeintype="hotword" > choose xy</prompt>
<grammar root="main" version="1.0" xml:lang="de-DE">
<rule id="main" scope="public">
<one-of>
<item>1</item>
<item>2</item>
<item>3</item>
</one-of>
</rule>
</grammar>
<nomatch>
didn't get it
<reprompt/>
</nomatch>
<noinput>
didn't hear you ?
<reprompt/>
</noinput>
<filled>
<assign name="myvar" expr="test1" />
<value expr="myvar"/> chosen
</filled>
</field>
</form>
我想的是,用戶可以說我的選擇的單詞,然後幫助,異常觸發 - 像
選擇以下內容:x,y,z,...
我該如何使用這樣的異常處理R'
感謝