I have to update a strictly defined (e.g. can't alter the format) XML document. I am using the DOM parser to load the file and update where appropriately. Unfortunately, ...
I have the following XML:
<employee> <!--forgot to include an attribute-->
I used XPath to parse rss xml data, and the data is