Stop duplicating work - use listtags() and listtags_pkg() instead of creating the listtwice (once for xmlparse, once for xmldump).
Stop duplicating work - use listtags() and listtags_pkg() instead of creating the list
twice (once for xmlparse, once for xmldump).