W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

Re: Maybe someone can tell us

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 24 Jul 2001 09:38:33 -0400
Message-ID: <3B5D7A59.7F71675@w3.org>
To: Sander Bos <sander@x-hive.com>
Cc: W3C DOM mailing list <www-dom@w3.org>
Sander Bos wrote:
> 
> > why the DOM version 1 didn't specify a means of getting the
> > actual XML out
> > of the DOM document.  I'm not really talking about loading and saving
> > files, but rather just getting the contents of the DOM doc as a
> > big string
> > at least.
> >
> > Does someone have a historical perspective on this?  I'm trying to
> > implement some XML functionality with Xerces and I'm frustrated with the
> > hassle of writing reams of code just to get the DOM into usable XML.
> 
> I can't provide you with any history. However, if you can save to a file,
> you can also save to a String? You didn't mention whether you use Xerces-C
> or Xerces-J? With Xerces-J it is possible to do this without reams of code:

For the archive, we are currently looking in adding a DOMString in the
DOMInputSource and an appropriate method in the DOMWriter.

Philippe
Received on Tuesday, 24 July 2001 09:38:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT