I'm trying to write a script to edit an Excel-encoding xml file that has what are normally considered invalid characters in xml (specifically
and a couple other control characters like that). These characters belong there and must stay exactly as is. Preferably using Python's minidom, how can I get the xml parser to ignore these invalid characters?
If it can't be done in minidom, could I get a link to a decent tutorial that shows how to use whatever library you suggest in a way where I can traverse the xml file and change some data values? I've tried looking at lxml, but I can't find a simple way to just go through the file and make changes in their documentation.