Re: [xml] xmlDOMWrapCloneNode problem



George Georgiev <george georgiev sf gmail com> writes:

This might be better. What will really be better though is if it works
correctly for unlinked nodes too.

In fact in my algorithm the line of construction (clone where it is
needed) of the nodes is in reversed order, from children towards
parents.

Passing NULL for destParent and doing the xmlAddChild() after also
works.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]