This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
MS XML Parser 3 and WML
- To: "'XSL-List at mulberrytech dot com'" <XSL-List at mulberrytech dot com>
- Subject: MS XML Parser 3 and WML
- From: "Lee Barwick" <lee dot barwick at metromail dot co dot uk>
- Date: Thu, 20 Jul 2000 09:36:50 -0700
- Organization: MetroMail Ltd
- Reply-To: xsl-list at mulberrytech dot com
I've been writing a stylesheet to transform basic XML documents to WML on
an IIS server and everything works fine in that I can browse the generated
WML and it looks fine. I have two problems with the output though. The
first is that the generated <?xml version="1.0"?> tag contains an
additional attribute, namely encoding="UTF-16" (automatically inserted by
the MSXML object). I understand that this is possibly some result of me
using ASP and transformNode to write to the Response object (I actually
chain together a couple of stylesheets before this call using
transformNodeToObject). The problem is that my Nokia 7110 does not
recognise this encoding type (or possibly even the encoding attribute) and
will not display the page. Does anyone know of a way to 'discard' the
encoding attribute - I've tried using the 'processing-instruction
name="xml"' command to override but I get a server error saying that the
'xml' PI command is not allowed!?!
Also, I currently use a pretty horrible CDATA string to return the correct
<!DOCTYPE> for WML which does work but looks vile! When I try to use the
<xsl:doctype> command to insert the correct string I get a server message
about this command not being allowed in the current namespace. Microsoft
documentation (for v3) does not mention this command at all although it was
mentioned in v2.5 documentation! Does anyone know of a more beautiful way
of doing this?
Thanks in advance
Lee B
Why not log on and see just how our new factory
is coming along. Point your browser to
www.metromail-buildingsite.co.uk
*******************************************************
The information contained in this e-mail and any
files transmitted with it are confidential and
intended for the addressee only. If you have
received this e-mail in error please notify the
originator or telephone 0191 554 6262.
This e-mail and any attachments have been
scanned for viruses prior to leaving MetroMail
but MetroMail will not be liable for any losses as
a result of any viruses being passed on.
If this e-mail offends in any way please forward
it to sysadmin@metromail.co.uk
MetroMail Ltd, Palmer Road, SW Ind Est, Peterlee
www.metromail.co.uk
*******************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list