Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2008

Tip: Looking for answers? Try searching our database.

Problem using the print view XSL outside of InfoPath

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken Ng - 28 Apr 2008 23:16 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.