新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> VoiceXML, CCXML, OpenVXI
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - 高级XML应用『 XML在语音技术中的应用 』 → 帮忙看一下voicexml错在哪里 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 6390 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 帮忙看一下voicexml错在哪里 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     ripoff 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:3
      积分:70
      门派:XML.ORG.CN
      注册:2007/6/21

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给ripoff发送一个短消息 把ripoff加入好友 查看ripoff的个人资料 搜索ripoff在『 XML在语音技术中的应用 』 的所有贴子 引用回复这个贴子 回复这个贴子 查看ripoff的博客楼主
    发贴心情 帮忙看一下voicexml错在哪里

    <?xml version="1.0" ?>
    <!DOCTYPE vxml PUBLIC "-//W3C//DTD VOICEXML 2.1//EN" "http://www.w3.org/TR/voicexml21/vxml.dtd">
    <vxml version="2.1" xmlns:xsi="http://www/w3/org/2001/vxml">

    <form> <!-- If nothing else is specified, the first <form> that is encountered
       is used as initial dialog -->  
     <field name="ticket_num" type="digits">
      <prompt>
         Read the 12 digit number from your ticket.
      </prompt>
       <help>The 12 digit number is to the lower left.</help>
       <filled>
         <if cond="ticket_num.length != 12">
           <prompt>
              Sorry, I didn't hear exactly 12 digits.
           </prompt>
           <assign name="ticket_num" expr="undefined"/>
         <else/>
           <prompt>
              I heard <say-as interpret-as="vxml:digits">
              <value expr="ticket_num"/></say-as>
           </prompt>
         </if>
      </filled>
     </field>
     <field name="passwd" type="digits">
      <prompt>
         input the password.
      </prompt>
      <filled>
       <if cond="passwd.length != 6">
        <prompt>
         Sorry, I didn't hear exactly 6 digits.
        </prompt>
       <else/>
        <prompt>
         I heard <say-as interpret-as="vxml:digits">
         <value expr="passwd"/></say-as>
        </prompt>
       </if>
      </filled>  
     </field>
     <block>
      <prompt>
       your ticket name is <value expr="ticket_num"/> and your password is <value expr="passwd"/>.
      </prompt>
     </block>
      <subdialog  name="get_score" srcexpr="'http://172.16.3.98/get_score.asp?code='+<value expr="ticket_num"/>+'&subject='+<value expr="passwd"/>"/>
       <filled>
         <prompt>your score is<value expr="getString(get_score.subject_score)"/></prompt>
       </filled>
      </subdialog>

    </form>
    </vxml>


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/8/6 13:27:00
     
     ripoff 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:3
      积分:70
      门派:XML.ORG.CN
      注册:2007/6/21

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给ripoff发送一个短消息 把ripoff加入好友 查看ripoff的个人资料 搜索ripoff在『 XML在语音技术中的应用 』 的所有贴子 引用回复这个贴子 回复这个贴子 查看ripoff的博客2
    发贴心情 
    还有就是怎么在voicexml里面去访问数据库,望指点一二。
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/8/6 13:28:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 XML在语音技术中的应用 』 的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/4/28 3:18:31

    本主题贴数2,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    93.750ms