Subject: Re: [xsl] Character encoding in MSXML 3.0 from VB From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 8 Jan 2001 16:56:38 GMT |
Hi, I have a rather strange problem with MSXML, given the following xml <?xml version="1.0"?> <mydoc> he said ‘yes’ </mydoc> I should be able to extract the text, (with the quotes being open and close): he said 'yes' however, MSXML insists on returning he said ?yes? ‘ would specify character number 145 in unicode, but there is no such character. The quotes may be in position 145 in an encoding used by your operating system but that is irrelevant here. The file is in encoding UTF-8 (as you have specified no encoding) and whatever the encoding of the file, the &# notation always refers to unicode numbers. The left and right single quotes are 8216 and 8217 David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Character encoding in MSXML 3, Philip Fitzsimons | Thread | Re: [xsl] Character encoding in MSX, Mike Brown |
Re: [xsl] Get XPath to Node from No, Dimitre Novatchev | Date | RE: [xsl] xsl:key and document(), Robert Goheen |
Month |