get namespace map from xml argument