I need open a large XML file and append an AddressInfo
element into existing file. What is the best and fastest way to do this?
My XML example:
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfAddressInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<AddressInfo>
<Level1></Level1>
<Level2>2010-10-29T19:53:32</Level2>
<Level3>/Level3>
<Level4></Level4>
</AddressInfo>
<AddressInfo>
<Level1></Level1>
<Level2>2010-10-29T19:53:32</Level2>
<Level3>/Level3>
<Level4></Level4>
</AddressInfo>
</ArrayOfAddressInfo>