fixes to accomidate xml that get returned from ArcGIS Server e.g. for MRCViewer