Hello All,
I need to create a simple xml document using DOM(I am not specific on using only DOM. It can be SAX also).
I tried putting to use a sample from this link:
http://www.java2s.com/Code/Java/XML/MakeupandwriteanXMLdocumentusingDOM.htm
In the link above, the line: Document doc = parser.newDocument(); resuts in a null value. Almost all examples show similar coding, but the problem remains the same. Could any one pull me out of the hole?
Thanks,
Ashok.