I extracted the print view XSL from the template and tried to use it in my C# code to transform the form XML into HTML. The problem is that all those function-available failed, e.g. <xsl:when test="function-available('xdFormatting:formatString')"> <xsl:if ...