<P>I am trying to build a DOM tree using JDOM's DOMbuilder and xerces DOMParser. I didnt have much luck in extracting name of attribute and its value of any element, including root element from my XML file. I tried getAttribute(attrName) on the element, it returns null. Since i am new to this field any help would be appreciated.</P>
<P>ps: Everything works fine if i use SAXBuilder!</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://mail.yahoo.com/">Yahoo! Mail</a> - Free email you can access from anywhere!