Hi,
 
I just want to report a problem and would like to know
if there's a fix.
 
I did something like the following:
    DOMParser domParser = new DOMParser();
    domParser.parse(strUrl);
    Document document = domParser.getDocument();
 
    NodeList nl = document.getElementsByTagName("attr");
    Node node;
    node = nl.item(0).getFirstChild();
    strTitle = node.getNodeValue();

The original/real value for <attr> was
    President & CEO
but, I got only the "President" part back in strTitle.
The '&' was correctly encoded as "&amp;".
 
I could view the XML correctly with IE.
 
I really appreciate if you could give me some input.
 
Thanks,
Nathan
----------------------------------------------
Nathan Q. Wang           ONI Systems, Inc.
----------------------------------------------

Reply via email to