This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: MSXML - Processing non standard characters


>
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]