<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Can I upload an Infopath document using a published infopath DocLib, using C#.</title><link>https://www.infopathdev.com:443/forums/thread/51939.aspx</link><pubDate>Fri, 19 Feb 2010 15:50:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51939</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51939.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51939</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll need to add the processing instructions to your XML that you generate in code. Compare the XML from a document created by your template to the XML you are generating by opening both with a text editor like notepad. You&amp;#39;ll see processing instructions at the beginning of the IP generated XML. &lt;a href="http://aspalliance.com/515"&gt;This blog post&lt;/a&gt; has some additional information that may help you as well.&lt;/p&gt;</description></item><item><title>Can I upload an Infopath document using a published infopath DocLib, using C#.</title><link>https://www.infopathdev.com:443/forums/thread/51774.aspx</link><pubDate>Mon, 15 Feb 2010 19:00:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51774</guid><dc:creator>BigDutch72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51774.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51774</wfw:commentRss><description>&lt;p&gt;I have published a infopath document to a sharepoint library, everything works great.&lt;/p&gt;
&lt;p&gt;How do create a document in code. not using sharepoint NEW button. &lt;/p&gt;
&lt;p&gt;I was able to upload a file using SPFileCollection.add().. I included the xml from the document library, but when I try to open the file it opens in a webbrowser and shows the xml.&lt;br /&gt;I want it to open in infopath.&lt;/p&gt;
&lt;p&gt;I must be forgetting something.&lt;/p&gt;
&lt;p&gt;any help would be appreciated&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>