Re: [xsl] retaining "xml:" prefix on attribute name

Subject: Re: [xsl] retaining "xml:" prefix on attribute name
From: Saverio Perugini <sperugin@xxxxxxxxxxxxxxxx>
Date: Wed, 29 Oct 2003 19:29:15 -0500 (EST)
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.


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,


<HM xmlns:SALT="";>
<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"/>
<?import namespace="SALT" implementation="#SpeechTags"?>
<SALT:listen id="TestReco" onsilence="HandleOnSilence()"
onreco="HandleOnReco()" onnoreco="HandleOnNoReco()"
<SALT:param name="server">http://localhost/speechserverweb/lobby.asmx</SALT:param>
<SALT:grammar id="gram1" name="gram1">
<grammar xmlns=""; version="1.0" xml:lang="en-US" root="root">
    grammar goes here
<SALT:prompt id="TestPrompt" onerror="HandlePromptOnError()" onComplete="HandlePromptOnComplete()"></SALT:prompt>

 XSL-List info and archive:

Current Thread