Using this example how would I go about updating an XML file using this example:
<foo>
<n1>
<s1></s1>
<s2></s2>
<s3></s3>
</n1>
<n1>
<s1></s1>
<s2></s2>
<s3></s3>
</n1>
</foo>
I Can read from it all day long but for the life of me I cannot seem to write it back into that format.