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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Question for updating existing XML file

[ Lists Home | Date Index | Thread Index ]

Title: Question for updating existing XML file
You probably want to use VTD-XML. It is probably the only XML processing
API supporting incremental update.
 
 
Cheers,
Jimmy Zhang
----- Original Message -----
Sent: Monday, July 26, 2004 7:13 AM
Subject: [xml-dev] Question for updating existing XML file

Hi,

First time posting, new to the list.

How do you update your XML files? 
Example:
  (in a huge XML file...)
  <Entry>
   <name>Jon</name>
  </Entry>
  ...

If I want to update the name to Joe, or add another name Jane.  So the node looks like this:
  (in a huge XML file...)
  <Entry>
   <name>Joe</name>
   <name>Jane</name>
  </Entry>
  ...

Is there a way to do this kind of update without rewrite the whole file?  My file is about 50MB.

Thanks.
--
Andrew H. Chen
Westinghouse Electric Company, Nuclear Fuel
4350 Northern Pike, Monroeville, PA, 15146
Tel. +1 (412) 374-2316





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS