Updated the xml processor and publish map handling