[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: retaining "xml:" prefix on attribute name

Subject: Re: retaining "xml:" prefix on attribute name
From: Saverio Perugini <sperugin@xxxxxxxxxxxxxxxx>
Date: Wed, 29 Oct 2003 19:29:15 -0500 (EST)
lobby.asmx
On Wed, 29 Oct 2003, David Carlisle wrote:

> Given that html does not use namespaces and does not have an element
> called grammar, this will always be difficult.
> Why don't you want to use the xml output method, as clearly the result
> is never going to be html.

Thanks.

The result is actually going to be html.  The grammar tag is a
SALT (Speech Application Language Tags) tag embedded into html.
SALT give webpages the ability to send and receive speech input.

The html document should have the following form.

Best Regards,
Saverio

--

<HM xmlns:SALT="http://www.saltforum.org/2002/SALT">
<head>
<meta http-equiv="Content-Type" Content="text/salt+html; charset=Windows-1252"/>
<object id="SpeechTags" classid="clsid:33cbfc53-a7de-491a-90f3-0e782a7e347a" viewastext="" width="0" height="0"/>
</head>
<?import namespace="SALT" implementation="#SpeechTags"?>
<body>
<SALT:listen id="TestReco" onsilence="HandleOnSilence()"
onreco="HandleOnReco()" onnoreco="HandleOnNoReco()"
onerror="HandleOnError()">
<SALT:param name="server">http://localhost/speechserverweb/lobby.asmx</SALT:param>
<SALT:grammar id="gram1" name="gram1">
<grammar xmlns="http://www.w3.org/2001/06/grammar" version="1.0" xml:lang="en-US" root="root">
    grammar goes here
</grammar>
</SALT:grammar>
</SALT:listen>
<SALT:prompt id="TestPrompt" onerror="HandlePromptOnError()" onComplete="HandlePromptOnComplete()"></SALT:prompt>
</body>
</html>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.