[Home] [By Thread] [By Date] [Recent Entries]


Sure.

I would use XSLT. Write a simple template that points to where you want 
to make the change and then insert the XML you want.

Oleg

Chen, Andrew . wrote:

> 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
>


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member