Hello,
When I use [tt]XML::LibXML[/tt]'s replaceNode() method on an element, all of the namespace prefixes are removed from the attributes of the element I used to replace.
Example:
Becomes:
I tried it with [tt]clean_namespaces()[/tt] set to 0 and 1.
Any ideas?
When I use [tt]XML::LibXML[/tt]'s replaceNode() method on an element, all of the namespace prefixes are removed from the attributes of the element I used to replace.
Example:
Code:
<ext-link xlink:title="My Title" xlink:href="[URL unfurl="true"]http://www.somedomain.com/">http://www.somedomain.com/</ext-link>[/URL]
Becomes:
Code:
<ext-link title="My Title" href="[URL unfurl="true"]http://www.somedomain.com/">http://www.somedomain.com</ext-link>[/URL]
I tried it with [tt]clean_namespaces()[/tt] set to 0 and 1.
Any ideas?