fix bug: if xml has multiple namespaces, the tool only output the first ...

fix bug: if xml has multiple namespaces, the tool only output the first one