http://www.perlmonks.org?node_id=464648


in reply to Re: Manipulate xml with libxml
in thread Manipulate xml with libxml

Hum...I suspect a problem of recursivity if I put cloneNode(1)
because when the first motif become a sibbling, the others one inside with the same motif are not treated yet.
it is more complicated in fact