¡@

Home 

python Programming Glossary: itemid

Python XML Remove Some Elements and Their Children but Keep Specific Elements and Their Children

http://stackoverflow.com/questions/15168259/python-xml-remove-some-elements-and-their-children-but-keep-specific-elements-an

contents. I want to specify an attribute in my case an itemID and give it a few specific values and then it would strip away.. away all the elements except for the ones that have those itemIDs and their children. My large .xml file looks something like.. 02 27 17 00 18 currentTime result rowset name assets key itemID columns itemID locationID typeID quantity flag singleton row..