XSLT templating implemented