summaryrefslogtreecommitdiff
path: root/devel/phrases/pizza.xml
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-03-16 16:23:39 +0000
committeraarne <aarne@cs.chalmers.se>2007-03-16 16:23:39 +0000
commit232c9cbb3729df3f78e7cd4e2119af30383c7e14 (patch)
treeadafd05ee97f2ace8c55741977d94f74f5f310a1 /devel/phrases/pizza.xml
parentf7ce8940fa0d53718eb30bfc7d0ef9320bafc673 (diff)
thai phrase translator
Diffstat (limited to 'devel/phrases/pizza.xml')
-rw-r--r--devel/phrases/pizza.xml73
1 files changed, 73 insertions, 0 deletions
diff --git a/devel/phrases/pizza.xml b/devel/phrases/pizza.xml
new file mode 100644
index 000000000..1d1f60731
--- /dev/null
+++ b/devel/phrases/pizza.xml
@@ -0,0 +1,73 @@
+<!DOCTYPE html PUBLIC "-//VoiceXML Forum//DTD XHTML+Voice 1.2//EN" "http://www.voicexml.org/specs/multimodal/x+v/12/dtd/xhtml+voice12.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:xv="http://www.voicexml.org/2002/xhtml+voice"
+ xmlns:vxml="http://www.w3.org/2001/vxml">
+
+ <head>
+ <title>Say Phrases in Thai</title>
+ <meta http-equiv="content-type" content="text/xml; charset=utf-8" />
+
+ <link href="style.css" rel="stylesheet" type="text/css"></link>
+
+ <script type="text/javascript" src="gflib.js"></script>
+ <script type="text/javascript" src="Travel.js"></script>
+ <script type="text/javascript" src="order.js"></script>
+
+ <vxml:form id="talker">
+ <vxml:block>
+ <vxml:value expr="talkText"/>
+ </vxml:block>
+ </vxml:form>
+
+ <vxml:form id="getorder">
+ <vxml:var name="dummy" />
+ <vxml:subdialog name="sub" src="TravelEng.vxml#Order_cat">
+ <vxml:param name="old" expr="currentOrder" />
+ <vxml:filled>
+ <vxml:assign name="dummy" expr="done(sub.term)"/>
+ </vxml:filled>
+ </vxml:subdialog>
+ </vxml:form>
+
+ </head>
+
+ <body>
+
+ <div><img src="images/logo.png" width="246" height="92" /></div>
+
+ <div><p>This demo requires an XHTML+Voice browser.
+ <a href="index.html">More information about this demo</a>.</p></div>
+
+ <p><button onclick="newOrder()">I want to say my order</button></p>
+
+ <div class="box">
+
+ <p id="ordertext"></p>
+ <p id="ordertextf"></p>
+ <p id="ordertextt"></p>
+
+ <p><object id="order" data="images/order.svg" width="700" height="200"></object></p>
+
+ </div>
+
+
+ <div class="box">
+ <form>
+ <textarea id="in_abs" rows="4" cols="52"></textarea>
+ <textarea id="out_abs" rows="4" cols="52"></textarea>
+ </form>
+ </div>
+
+ <!-- SVG "sprites" -->
+
+ <object id="pizza" data="images/pizza.svg" width="0" height="0"></object>
+ <object id="ham" data="images/ham.svg" width="0" height="0"></object>
+ <object id="cheese" data="images/cheese.svg" width="0" height="0"></object>
+ <object id="pepperoni" data="images/pepperoni.svg" width="0" height="0"></object>
+ <object id="anchovies" data="images/anchovies.svg" width="0" height="0"></object>
+ <object id="beer" data="images/beer.svg" width="0" height="0"></object>
+ <object id="coke" data="images/coke.svg" width="0" height="0"></object>
+
+ </body>
+</html>