minor edits to undp-process-xml.py.