1.1 --- a/XSLTools/XSLOutput.py Thu Apr 12 18:41:20 2007 +0000
1.2 +++ b/XSLTools/XSLOutput.py Thu Apr 12 18:41:40 2007 +0000
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 XSL output classes and functions.
1.6
1.7 -Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This library is free software; you can redistribute it and/or
1.11 modify it under the terms of the GNU Lesser General Public
1.12 @@ -120,7 +120,7 @@
1.13 result = self._get_result(document)
1.14
1.15 if result is not None:
1.16 - return libxml2dom.adoptNodes([result])[0]
1.17 + return libxml2dom.getDOMImplementation().adoptDocument(result)
1.18 else:
1.19 raise OutputError, "Transformation failed."
1.20
2.1 --- a/XSLTools/__init__.py Thu Apr 12 18:41:20 2007 +0000
2.2 +++ b/XSLTools/__init__.py Thu Apr 12 18:41:40 2007 +0000
2.3 @@ -20,6 +20,6 @@
2.4 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
2.5 """
2.6
2.7 -__version__ = "0.4.4"
2.8 +__version__ = "0.4.5"
2.9
2.10 # vim: tabstop=4 expandtab shiftwidth=4