!Updating XML Files!

XMLDevGuy at aol.com XMLDevGuy at aol.com
Wed Nov 3 05:11:59 GMT 1999


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