<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Transforming xml to html using xslt</title><link>https://www.infopathdev.com:443/forums/thread/77436.aspx</link><pubDate>Wed, 11 Apr 2012 12:06:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77436</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77436.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=77436</wfw:commentRss><description>Where is the XSLT you&amp;#39;re using coming from?&amp;nbsp; It sounds like it&amp;#39;s using custom InfoPath functions that aren&amp;#39;t provided by standard XSLT.</description></item><item><title>Transforming xml to html using xslt</title><link>https://www.infopathdev.com:443/forums/thread/77426.aspx</link><pubDate>Wed, 11 Apr 2012 07:19:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77426</guid><dc:creator>siva_prasads</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77426.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=77426</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am working on Infopath 2010 and I try to transform Infopath form to html using below code&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;SPFile file = folder.Files[&amp;quot;Infopathform.xml&amp;quot;];&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;strong&gt;&amp;nbsp;
byte[] contents = file.OpenBinary();&lt;br /&gt;

string xml = Encoding.UTF8.GetString(contents);&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;/span&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;strong&gt;XmlDocument doc = new XmlDocument();&lt;br /&gt;

System.IO.StringWriter sw = new System.IO.StringWriter();&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;strong&gt;

&lt;/strong&gt;&lt;/font&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;strong&gt;
doc.LoadXml(xml);&lt;br /&gt;

transform.Transform(doc.CreateNavigator(), new XsltArgumentList(),sw);&lt;br /&gt;

htmlText = sw.ToString();&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

But I am getting below exception when executing transform.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;strong&gt;Cannot
find the script or external object that implements prefix
&amp;#39;http://schemas.microsoft.com/office/infopath/2006/xslt/User&amp;#39;.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;strong&gt;Please help me to resolve this issue.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black;font-size:10pt;"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black;font-size:10pt;"&gt;Siva&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black;font-size:10pt;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>