posted 19 years ago
Whenever I build a Document by parsing an XML file, I have no problems getting the root node with a call to getDocumentElement().
However, if I construct a Document in my application, and I search for that Documents root node, the method returns a null.
Here is a complete app:
Just for good measure, here is the test.xml file: