A
Andy Fish
Hi,
I am wondering what is the "most standard" way of creating a brand new empty
document in DOM. I'm working in java using xerces but I would like to make
the code as portable as possible. I have found 2 ways of doing it:
1. new DOMImplementationImpl().createDocument(...);
2. new DocumentImpl();
but both these are in org.apache.xerces.
Any reason I should prefer one over the other? any better way of doing it?
thanks
Andy
I am wondering what is the "most standard" way of creating a brand new empty
document in DOM. I'm working in java using xerces but I would like to make
the code as portable as possible. I have found 2 ways of doing it:
1. new DOMImplementationImpl().createDocument(...);
2. new DocumentImpl();
but both these are in org.apache.xerces.
Any reason I should prefer one over the other? any better way of doing it?
thanks
Andy