OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: DOM - Creating Documents

[ Lists Home | Date Index | Thread Index ]
  • From: Ronald Bourret <rbourret@ito.tu-darmstadt.de>
  • To: "'XML-DEV'" <xml-dev@ic.ac.uk>
  • Date: Fri, 23 Apr 1999 09:41:35 +0200

Leigh Dodds wrote:

> But that said, each of the listed methods presuppose the availability
> of an existing document, correct? Whereas I was initially concerned
> about the inability to generate a completely *new* document

The methods Michael Kay listed create documents from a SAX InputSource. 
 The methods I listed are the ways to create a completely new document, 
which is what you originally requested.  Because Docuverse's methods 
require the root element type, it seems any generic method should accept 
this as an argument and return a Document.  (Missing from my list was how 
to create a new Document with IBM's xml4j.  As Jeff Greif pointed out, you 
simply use the constructor on TXDocument.)

> , but
> it has been demonstrated to me that this involves some implementation
> specific bootstrapping. And from the later discussions all I gather
> the W3C *could* specify is some standard registry/property keys/values
> that would feed into this bootstrapping mechanism. Would that
> be a fair assessment of the situation?


-- Ron Bourret

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS