revamp ext/xsl