DOM - Creating Documents
Ronald Bourret
rbourret at ito.tu-darmstadt.de
Fri Apr 23 09:43:19 BST 1999
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?
Yes.
-- Ron Bourret
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list