Today at 15:07, Daniel Veillard wrote: > On Mon, Jun 13, 2005 at 02:24:27PM +0200, Remy HAREL wrote: >> I hope you see what I mean, > > No I still don't see what you mean by pack. You add nodes to a tree, > and then want to pack, but I have no idea what you mean by that.
It seems to me that what Remy wants is to "deep copy" everything he added to the tree, but I don't see a purpose in that: in the example he gives, he probably should just reuse "toto" and "titi" pointers for whatever he needs (otherwise, he may end up with two copies of the same node, but then freeing one, which is clearly bogus). FWIW though, I may have completely misunderstood him. Cheers, Danilo _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
