"Brett McLaughlin" <[EMAIL PROTECTED]> wrote:
> NodeList nodes = root.getElementsByTagNameNS("JavaXML", "handler");

The DOM 2 definition for getElementsByTagNameNS is

  NodeList  getElementsByTagNameNS(in DOMString namespaceURI, in DOMString
localName);

Instead of the prefix, you should be using the namespace URI:

NodeList nodes =
root.getElementsByTagNameNS("http://www.oreilly.com/catalog/javaxml";, 
"handler");




--Bill

Reply via email to