VXML

VXML

 英

  • 网络语音可扩展标记语言;语音扩展标记语言;语音可扩展标识语言技术

例句

Just as you've seen in previous articles with servlets, JSP pages make it trivial to link between VXML pages.

之前关于servlet文章已经提到JSP页面使VXML页面之间链接变得轻而易举

All you had to do was copy your VXML into a file, add a few directives at the top, and save the file with a . jsp extension.

需要只是VXML复制一个文件顶端添加几条指令directive),然后.jsp扩展名保存文件

Begin by creating your VXML in a VXML file, and test it out, just as you would when working with a servlet.

首先一个VXML文件创建VXML测试使用servlet相同

VoiceXML is the name given to the standard for voice-based XML output, although the file format itself is called VXML.

VoiceXML源于一种标准用于基于语音XML输出但是这种文件格式本身称为VXML

It's easy to take a core servlet that outputs basic VXML and extend it with other servlets, each of which provide custom behavior.

可以容易实现一个输出基本VXML核心servlet其他servlet提供定义行为扩展

As you've seen so far in this article, sometimes a servlet-generated VXML does not make sense.

看到有时servlet生成VXML意义

The main calendar menu is a simple VXML file that provides the main options as a starting point for the rest of the application.

日程表菜单一个简单VXML文件提供主要选项作为应用程序其余部分开始

Once the VXML is online, you're ready to link it to a phone number.

VXML联机一个电话号码连接准备

Clearly, it's even easier to turn VXML into a JSP page than it is to embed VXML within a servlet.

显而易见VXML转换JSP页面VXML嵌入servlet简单

Once you get a blank screen, you're ready to actually output the VXML file.

一旦得到空白屏幕准备好实际输出VXML文件

Now you're ready to get into some Java code, and learn about generating VXML dynamically.

现在可以看看Java代码了解如何动态地生成VXML

If the information is valid, you update the XML diary file and write out a VXML fragment that redirects the user to the main menu.

如果信息有效那么我们更新XML日程文件取消用户重定向菜单VXML代码

As it turns out, building dynamic VXML gets rid of some of the formality of voice-based systems, as well.

此外能够证实构建动态VXML消除基于语音系统部分刻板

This simplifies the production of VXML and, especially with a freeform input format, makes the production of the information much easier.

简化VXML生成特别是对于自由输入格式使得信息生成容易

Let's quickly run over what was required to get your VXML to work on a servlet, and then move from there to JSP pages.

我们快速回顾一下为了使VXMLservlet工作需要哪些事情然后再介绍servletJSP页面情况

Figure 3 shows the resulting screen (scrolled down a bit), with all the different access points to the VXML file.

3展示最终屏幕略微向下滚动),以及VXML文件所有访问

Now, you can put together a simple search function that will take a search term and output the VXML required to list the results found.

现在可以创建一个简单搜索函数可以接收搜索输出VXML列出搜索结果

Only after you do all of these steps -- ensuring that your VXML works -- are you ready to even begin thinking about coding Java.

只有完成所有这些步骤——确保VXML正常工作才是准备好可以开始考虑编写Java代码

To start, you process a feed and output the VXML to read out the stories to generate the main list of information.

首先处理提要输出VXML从而生成信息列表

This is just a test to ensure the VXML is available, so don't be concerned if your computer doesn't start speaking to you.

只是一个测试确保VXML可用因此即使计算机没有开始交谈不要忧虑

One of the simplest things you can do with servlet-based VXML output is add some awareness of time.

基于servletVXML输出简单用途就是添加时间提醒

If there are any problems, you can be reasonably sure that you've got Java coding issues to work out, rather than VXML ones.

如果存在任何问题能够合理地确定Java编码问题需要解决不是VXML问题

You can easily embed the text specification into a VXML document by using a CDATA block.

我们可以方便地文本规范嵌入VXML文档方法使用一个CDATA

Rather than add all these variables -- no pun intended -- ensure that you start with a working VXML file.

不要添加所有这些变量没有双关意思),务必一个正常工作VXML文件入手

At the end of the diary list, it returns the user back to the main menu VXML file.

日程列表末尾一个返回选项可以使用户返回菜单VXML文件

The submit tag within VXML passes on the field values to a specified remote application as standard HTTP parameters.

VXMLsubmit标记字段作为标准HTTP参数传递一个指定远程应用程序

Hence you can produce a simple spoken sentence using the VXML in Listing 2.

因此可以使用清单2VXML产生一个简单语音句子

In this article, you'll learn about a true middle-of-the-road approach: using JSP pages to output your VXML.

文章学习一种真正折中方法使用JSP页面输出VXML

VXML supports different form blocks in a single file that can be used to output all of the different solutions.

VXML支持一个文件提供不同可以所有解决方案产生输出

It's a voice-recognition VXML file that takes in a favorite instrument and offers some commentary on the caller's choices.

一个语音识别VXML文件接入一个恰当设备提供某些关于呼叫选择注释

The submit tag within VXML can be used to exchange field information between VXML and scripts that can handle the information.

VXMLsubmit标记用于VXML能够处理信息脚本之间交换字段信息

Write this VXML, save it, upload it to your ISP, and assign a number to it.

编写这个VXML保存传到ISP然后分配一个号码

Then, you rework your account information page, and create a new VXML file for the account information, account-summary. jsp.

随后修改账户信息页面账户信息创建一个VXML文件account-summary.jsp。

Now browsers (or other code) reading your response can discover the VXML file that was served.

现在读取响应浏览器其他代码可以发现服务VXML文件

In the same fashion, if the user is using a phone to interact with the system, you may want to add a vxml subelement.

同样如果用户使用电话系统交互或许需要添加vxml子元素

You can create a standardized VXML output that will generate specific elements of fragments according to a pre-defined format.

可以创建标准化VXML输出根据预定格式生成特定片断元素

So far the selections were based on providing information in a static VXML file.

目前为止选择基于静态VXML文件提供信息

In any case, JDBC makes it simple to connect to a database, and then use results from SQL queries to populate VXML.

无论如何JDBC使轻松连接数据库然后利用SQL查询结果填充VXML

You can work with file names and conditionals in your JavaBean classes, keeping your JSP pages free to focus on the VXML of the page itself.

可以JavaBean处理文件名条件使JSP页面不必关注页面VXML本身

The basic operation of the feed parser and the generation of the VXML is the same as with the Perl examples.

这个提要解析器基本操作VXML生成过程Perl示例相同

热门查询