XSLT CreateMode fixes