March 2021
Monthly Archive
Monthly Archive
Posted by Jim DeLaHunt on 31 Mar 2021 | Tagged as: robobait, software engineering
I recently had a need to modify a large XML file by changing attributes of one kind of element — changing the value of a certain attribute, and deleting another attribute — while preserving everything else: element text, surrounding elements, etc. I did not readily find code for modifying an attribute value in my searches. Here is what worked for me. Perhaps it will be helpful for someone else.
Continue Reading »