Convert unity stuff to xslt