fixed destinations xsl parsing and single quotes escaping