Professional Documents
Culture Documents
beatsigner.com
2 December 2005
What is XML?
▪ Standardised text format for (semi-)structured
information
▪ Meta markup language (Extensible Markup Language)
▪ tool for defining other markup languages
- e.g. XHTML, WML, VoiceXML, SVG, Office Open XML (OOXML)
XPath
XSLT
▪ other attributes
▪ xlink:show: new, replace, embed
▪ xlink:actuate: onLoad, onRequest
▪ post-processing of documents
- e.g. XML to XHTML, XML to WML, XML to PDF, ...
DOM XSLT
XML Document Processor XHTML, WML, ...
Parser
Input Document Output Document
Source Tree Result Tree
DTD
DTD
Stylesheet Tree
XSLT Stylesheet
output
<?xml version="1.0" encoding="utf-8"?>
<html>
...
<p>Signer</p>
<p>Norrie</p>
...
</html>
XML-RPC Response
Builds XML
based on JDOM
XML Server
OM Model
Collections, Associations,
multiple inheritance and
multiple instantiation
OMS Java API
OMS Java Workspace
Application Pronounciation
Speech model Grammar
database rules
Apache
Tomcat XIMA Framework
Web Server
OMS Java
Database
▪ Input
▪ recognition of spoken input (or recording of spoken input)
▪ recognition of DTMF (dual-tone multi-frequency) input
▪ Output
▪ speech synthesis (TTS)
▪ recorded audio files
November 12, 2021 Beat Signer - Department of Computer Science - bsigner@vub.ac.be 43
VoiceXML Form Example
<?xml version="1.0" encoding="UTF-8"?>
<vxml xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd" version="2.0">
<form id="drinkForm">
<field name="drink">
<prompt>Would you like to order beer, wine, whisky, or nothing?</prompt>
<grammar src="drinks.grxml" type="application/srgs+xml"/>
</field>
<block>
<submit next="http://www.wise.vub.ac.be/drinks.php"/>
</block>
</form>
</vxml>
Would you like to list the Would you like to list the
members or go back? members or go back?
Choose a 'domaintype' or
Choose one of the members
a 'rangetype' or say back
Object 'oID' is dressed with type 'type' and currently viewed as type 'type'. It contains #Attr, #Links, and #Methods
The object contains the You can choose among You can choose among You can view the object
following # attributes the following links the following methods as the following types
2 December 2005