I've had similar experiences with XML::LibXML, see my node here for a potential workaround (basically manually copying and re-creating the nodes instead of cloning).
Updated wording slightly for clarification.
In reply to Re: copyCurrentNode in XML::LibXML::Reader will add xmlns attribute
by haukex
in thread copyCurrentNode in XML::LibXML::Reader will add xmlns attribute
by mjfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |