Re: [xml] xmlCopyProp() / xmlCopyPropList() don't work properly
- From: Daniel Veillard <veillard redhat com>
- To: Oliver Stöneberg <oliverst online de>
- Cc: xml gnome org
- Subject: Re: [xml] xmlCopyProp() / xmlCopyPropList() don't work properly
- Date: Wed, 16 Jun 2004 14:34:52 -0400
On Wed, Jun 16, 2004 at 06:23:34PM +0200, Oliver Stöneberg wrote:
I want to copy a attribute list from one node to another. The
function xmlCopyPropList() did return a copy of the attributes, but
it didn't out them into the "target" node. "properties" was still
NULL.
Same for the function xmlCopyProp().
I tried it with libxml2-2.6.7 and libxml2-2.6.10 on MSVC and MinGW.
Both show the same behavior.
This is not a bug. The function says it copies the attribute(s)
inserting the results in the node attribute list is not part of the
function work.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]