compare XML localName with String representation of WMWorldElementType