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 / January 2006

Tip: Looking for answers? Try searching our database.

Add an XSLT to infopath model (XSN)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
no spam - 19 Jan 2006 07:40 GMT
Hi,

I want to put my XSLT in my XSN. I want to make an xsl transformation
when I am in infopath:

XslTransform xslt = new XslTransform();
xslt.Load("myxslt.xslt");

That can be done?

How can I do for call my xslt in my code is it correct like this?

Thanks
Greg Collins [InfoPath MVP] - 19 Jan 2006 16:19 GMT
Your code would work as it does in any other situation... but the trick is that you need to make sure that your XSLT file is included as part of the form template resources. Otherwise you will not be able to load it because the template will refuse to believe that it exists.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

Hi,

I want to put my XSLT in my XSN. I want to make an xsl transformation
when I am in infopath:

XslTransform xslt = new XslTransform();
xslt.Load("myxslt.xslt");

That can be done?

How can I do for call my xslt in my code is it correct like this?

Thanks
 
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.