diff --git a/lib/pyulib/src/uapps/uxpath.py b/lib/pyulib/src/uapps/uxpath.py index e7542da..22deced 100755 --- a/lib/pyulib/src/uapps/uxpath.py +++ b/lib/pyulib/src/uapps/uxpath.py @@ -34,6 +34,8 @@ def dumprs(rs): for r in rs: dumprs(r) elif isinstance(rs, minidom.Element): print rs.toxml("utf-8") + elif isinstance(rs, minidom.Text): + print rs.data.encode("utf-8") elif isinstance(rs, minidom.Attr): print rs.value.encode("utf-8") else: