<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How can I apply an XSLT to an XML file obtained using web service based form?</title><link>https://www.infopathdev.com:443/forums/thread/78868.aspx</link><pubDate>Wed, 23 May 2012 13:27:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78868</guid><dc:creator>Ramon84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78868.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78868</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt; I need some help, please.&lt;/p&gt;

&lt;p&gt;I created a form based on a web service, I pass four parameters and the web service returns an XML file. How can apply an XSLT to that XML within the form? There is a function in C#.NET to do that; can I use it within the form? Is there a third party product to do that?&lt;/p&gt;

&lt;p&gt;I want to apply the XSLT to the XML file and pass the resulting file to a file attachment control or upload the file to SharePoint.&lt;/p&gt;

&lt;p&gt;Please, take a look:&lt;/p&gt;

&lt;p&gt;
http://support.microsoft.com/kb/307322/en-us
&lt;/p&gt;
&lt;p&gt;
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=63 
&lt;/p&gt;

&lt;p&gt;
Thanks in advanced.
&lt;/p&gt;</description></item></channel></rss>