Fix the XSL rewrite.