Re: Creation from scratch.

> Can u create a DOM  tree from scratch without an XML file.?
>i.e. Just by having the document object, can u create all elements
>including the root element?


As of DOM Level 2, yes. However, the root element is created at the same
time as the Document it belongs to. See the
DOMImplementation.createDocument method, and the factory methods on the
Document interface.

______________________________________
Joe Kesselman  / IBM Research

Received on Wednesday, 12 July 2000 08:32:24 UTC