I extracted the prrint view XSL from the template and try 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
function defined for the transform to use?
Sachin Nema - 09 May 2008 14:27 GMT
Hey Ken
Would you like to tell us .. how are you handling the XSLT Path here. is
XSLT is part of your XSN package?
Are you accessing the XSLT with the HTTP path or what?
> I extracted the prrint view XSL from the template and try to use it in my C#
> code to transform the form XML into HTML. The problem is that all those
[quoted text clipped - 12 lines]
> My question is whether I need to load some specific object that have those
> function defined for the transform to use?