> 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 ResearchReceived on Wednesday, 12 July 2000 08:32:24 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:52 GMT