support des noeuds de type texte
This commit is contained in:
parent
5f42e14d75
commit
13b97d61d2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue