Subject: RE: [xsl] retaining "xml:" prefix on attribute name From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 30 Oct 2003 08:44:27 -0000 |
Contrary to my previous reply, your grammar element is in a namespace, and your XSLT processor is therefore (apaprently) wrong to remove the "xml:" prefix. Try a different processor. Michael Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Saverio Perugini > Sent: 30 October 2003 00:29 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] retaining "xml:" prefix o, Saverio Perugini | Thread | Re: [xsl] retaining "xml:" prefix o, David Carlisle |
RE: [xsl] Converting specific child, Michael Kay | Date | RE: [xsl] Basic help needed., Michael Kay |
Month |