Print View .xsl transfer - InfoPath Dev
in

InfoPath Dev

Print View .xsl transfer

Last post 04-29-2008 01:42 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-28-2008 04:06 PM

    Print View .xsl transfer

    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  

     

    Filed under:
  • 04-29-2008 01:42 PM In reply to

    Re: Print View .xsl transfer

    I don't know that there is a way to get those to work. We've done stuff like these before and always fell back to having everything we needed available in the main DOM.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.