in reply to copyCurrentNode in XML::LibXML::Reader will add xmlns attribute
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: copyCurrentNode in XML::LibXML::Reader will add xmlns attribute
by beech (Parson) on Sep 18, 2017 at 03:15 UTC |