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 test="function-available('xdXDocument:GetDOM')"> The code I have is very simple:
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load(xslPath);
xslt.Transform(xmlPath, outputPath);
My question is whether I need to load some specific object that have those
functions defined for the transform to use?
Thanks for your help.
Nate