[xml] Moving subtree to another document



Hello, collegues!

I have two xmlDoc with some data. And I need to move all content of one document to particular place of the 
second document. I want to insert doc without copying. Is it safe way to do it?

When I try use xmlUnlinkNode and xmlAddChild I had problems with double free of xmlDict or some records in 
xmlDict during cleaning the memory.

Sincerely,
Ilya.



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