diff --git a/ChangeLog b/ChangeLog index e5599386..17ff210d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jan 15 18:44:30 CET 2005 Daniel Veillard + + * python/libxml.py: make __str__ call serialize() on nodes, c.f. + bug #157872 + Sat Jan 15 18:18:07 CET 2005 Daniel Veillard * nanoftp.c: applied patch from Dan McNichol for compilation on AIX diff --git a/python/libxml.py b/python/libxml.py index 588e8624..bde8aba4 100644 --- a/python/libxml.py +++ b/python/libxml.py @@ -231,6 +231,8 @@ class xmlCore: self._o = _obj; return self._o = None + def __str__(self): + return self.serialize() def get_parent(self): ret = libxml2mod.parent(self._o) if ret == None: