Function mxml::fix_namespaces
Defined in File node.hpp
Function Documentation
-
void mxml::fix_namespaces(element &e, const element &source, const element &dest)
This method fixes namespace attribute when transferring an element from one document to another (replaces prefixes e.g.)
When moving an element from one document to another, we need to fix the namespaces, make sure the destination has all the namespace specifications required by the element and make sure the prefixes used are correct.
- Parameters
e – The element that is being transferred
source – The (usually) document element that was the source
dest – The (usually) document element that is the destination