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.
让我们快速回顾一下,为了使VXML能在servlet上工作,您需要做哪些事情,然后再介绍从servlet到JSP页面的情况。
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.
基于servlet的VXML输出的一项最简单的用途就是添加时间提醒。
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.
VXML中的submit标记将字段值作为标准HTTP参数传递给一个指定的远程应用程序。
Hence you can produce a simple spoken sentence using the VXML in Listing 2.
因此,可以使用清单2中的VXML产生一个简单的语音句子。
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.
VXML中的submit标记可用于在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示例相同。