[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: retaining "xml:" prefix on attribute name
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|