[xml] Why doesn't xmlAddChild unlink the node first?
- From: Bertrand Fritsch <bfr 4js com>
- To: xml gnome org
- Subject: [xml] Why doesn't xmlAddChild unlink the node first?
- Date: Wed, 05 Sep 2007 12:31:38 +0200
Hi,
I wonder why the xmlAddChild function doesn't unlink the node before
adding it to the tree, whereas xmlAddNextSibling and xmlAddSibling
functions do it? What is the rationale behind this? From a caller POV,
the difference is compelling since the work to do to call these function
is not the same in one case than in the other.
Thanks,
Bertrand.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]