W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2004

Creating a DOM document from scratch

From: Purdy, Edgar M <edgar.m.purdy@lmco.com>
Date: Mon, 02 Feb 2004 16:58:35 -0500
To: www-dom@w3.org
Message-id: <B5350E91C6D80C41A2EE01E1B14C4D7CC51AF8@EMSS04M20.us.lmco.com>




I need to generate XML that adheres to the standard.

Most of the solutions that I've seen suggested employ individual .appendchild calls.  Text in those calls contains all the necessary XML characters. 
This method implies that a user is already intimately familiar with the XML standard and knows how to format a DOM document that adheres to that standard.
Is this really the way all these applications out there generate their XML documents or is there a tool that will do it.  I find no functionality in Xerces that will take some form of data input, other than pseudo xml, and turn it into an XML document.



Ed Purdy
Received on Monday, 2 February 2004 16:59:10 GMT

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