ported the xslt plugin to the new api