This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: MSXML - Processing non standard characters
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] MSXML - Processing non standard characters
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 2 Aug 2001 10:24:00 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> XML Error loading ''
> An invalid character was found in text content.
>
> I have no control over the format of the XML document.
Microsoft's parser is telling you that it isn't an XML document.
So you have a choice: either tell the supplier of the document that you
thought you had agreed to use XML, or write your own parser to handle
non-XML documents.
(This is assuming that the document hasn't been corrupted en route from the
supplier, e.g. by changing its character encoding.)
>I added the following to my XSL file but it still doesn't work: <?xml
>version="1.0" encoding="UTF-8" ?>
That's a statement about the encoding of the stylesheet, it says nothing
about the encoding of the source document.
Mike Kay
Software AG.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list