Hi,
What is the recommended way (in the libxml2 Python binding) to copy
a node and all of its children (but not its siblings!) from one
document to another document?
I tried (x is a node in the new document, y a node in the old document):
x.addChild(y)
Jos Vos wrote:
What is the recommended way (in the libxml2 Python binding) to copy
a node and all of its children (but not its siblings!) from one
document to another document?
;) the recommended way to use libxml2 from Python is lxml.
I tried (x is a node in the new document, y a node in
On Wed, Jul 18, 2007 at 11:48:53AM +0200, Stefan Behnel wrote:
;) the recommended way to use libxml2 from Python is lxml.
Thanks, but if anyhow possible, I'd like to stick to something
that is available from stock RHEL5 and python-lxml isn't included
there.
Ok, you want to copy, not move the
I get the following error on building libxml on ESX service console -
Generating xmlIO.d ...
Generating obj/linux/xmlIO.p ...
xmlIO.c:32:18: zlib.h: No such file or directory
Generating xlink.d ...
Generating obj/linux/xlink.p ...
xlink.c:30:18: zlib.h: No such file or directory
Generating
* Agarwal, Saumya wrote:
Generating xmlIO.d ...
Generating obj/linux/xmlIO.p ...
xmlIO.c:32:18: zlib.h: No such file or directory
You have to install the zlib development package (and perhaps other
dependencies) prior to building libxml2, either through the package
manager or by building it from