Thank you all for the reply. Seems the namespace is forcely written out and there is no way to change that behavior.
I don't want to do go through each attribute and construct a new element neither.
Currently I still use the copy and then do a string replacement s/ xmlns="[^"]"// to remove it
In reply to Re: copyCurrentNode in XML::LibXML::Reader will add xmlns attribute
by mjfan
in thread copyCurrentNode in XML::LibXML::Reader will add xmlns attribute
by mjfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |