Did you know ... Search Documentation:
Predicate add_missing_namespaces/3
 add_missing_namespaces(+DOM0, +NsMap, -DOM)[private]
Add xmlns:NS=URI definitions to the toplevel element(s) to deal with missing namespaces.