passing errors map to xsl implemented