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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   !Updating XML Files!

[ Lists Home | Date Index | Thread Index ]
  • From: XMLDevGuy@aol.com
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 3 Nov 1999 00:10:04 EST

Hi,

First time posting.  New to the list.

Ive been using XML and servlets and using SAX to parse information and using 
IBM's XML tools for DTD which help.

I have one major question and I wanted to see how the pro's do it ;-)  How do 
you update your XML files?  Example:

<Entry>
<Name>Jon
</Entry>

If I wanted to add another entry what is the easiest way to do it (is there 
anything besides constructing the full DOM tree every time?)

Are there anything like this:

XMLFile file = new XMLFile("file.xml");
file.add("Entry", "Jane");

?  

Thanks.

- Jon

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 unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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