Hi, I've been trying to figure this out for a few days now, and cannot find the solution.
Our xml document has element like to following in it: <comp>≤</comp> The &x2264; if the lower(or higher?)-equal character. When using xalan to create html from this the browser displays the correct character. If I serialize the DOMDocument, it write &x2264; to the file. This all works fine. The problem is with the following code: Node compNode = XPathAPI.selectSingleNode(item, "./atp_specification_comparator1/text()"); String comp = comp.getNodeValue() The comp string contains the character '?' instead of something I can use. We're using jre1.3.1 and xerces 2.6.2 How can I read the correct character from the xmlDocument? regards, Felix --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]