質問

今回はしっかりとサンプルvxmlスクリプトからvxml.org.呼び出しスクリプトを促し、遊びなのだが、お迎えに他の入力です。私が話しむことができるでしょう"の入力が出来ます。ということで足りない一部のタグを示すから入力したユーザーです。この例ではスクリプトからウェブサイト:

<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1">
   <link next="#MainMenu">
      <grammar type="text/gsl">[main back begin]</grammar>
   </link>

   <form id="MainMenu">
      <block>
         <prompt bargein="false">
            This is the Hello World Main Menu.
         </prompt>
      </block>

      <field name="MeatOrPlant">
         <prompt>
            Are you a "Carnivore" or "Vegetarian".
         </prompt>

         <grammar type="text/gsl">
            <![CDATA[[
              [vegetarian plant veggie] {<MeatOrPlant "plant">}
              [meat carnivore flesh animal] {<MeatOrPlant "meat">}
            ]]]>
         </grammar>

         <noinput>
            <prompt>
               I did not hear anything. Please try again.
            </prompt>
            <reprompt/>
         </noinput>

         <nomatch>
            <prompt>
               I did not recognize that lifestyle choice.  Please try again.
            </prompt>
            <reprompt/>
         </nomatch>

      </field>
      <filled>
         <if cond="MeatOrPlant == 'meat'">
            <goto next="#Meat"/>
            <elseif cond="MeatOrPlant == 'plant'"/>
            <goto next="#Plant"/>
         </if>
      </filled>
   </form>

   <form id="Meat">
      <field name="BackToMain">
         <prompt>
            PETA is coming for you, be afraid.
            If you wish to try again, please say Main.
         </prompt>
      </field>
      <filled>
         <!-- no way this will get hit -->
      </filled>
   </form>

   <form id="Plant">
      <field name="BackToMain">
         <prompt>
            Protein is the spawn of the devil.
            If you wish to try again, please say "Main".
         </prompt>
      </field>
      <filled>
         <!-- no way this will get hit -->
      </filled>
   </form>
</vxml>

誰でもヒン?つくばイノベーション

役に立ちましたか?

解決

すべてのものを使っています。以降のご利用インラインGSLの私の最初のうプラットフォームのうTellMeはNVPいと思うがその他のポインラインGSL.

いずれの場合ただくになって集大成エラーになります。まほーだけを無視する文法なコンパイル。のスニペットを見て正しいがんの標準的な構文(SRGS私は推測にあるこの実装は、実装、癖と注意事項は見です。

一般的などを満たすものがありませんが間違っているのVoiceXML部分の文法を説明します。なお、症状、目的地形の原因にな課題をいくつかのプラットフォームのさらな文法定義出口に依拠したことにデフォルトッハンドラー).るだけでなく、さらに一歩先を情報分野での部分はブロックとなります。および注の場合、ブロックで再生オーディオ終了し、リンクの文法であるか否かを問わず活躍の仕様を示唆するものが必ッチ処理と並ぶオーディオとします。認識の連続スイッチングの活文法では珍しい...

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top