<?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>Re: Read the Infopath form/view as an XML</title><link>https://www.infopathdev.com:443/forums/thread/62249.aspx</link><pubDate>Mon, 13 Dec 2010 16:07:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62249</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62249</wfw:commentRss><description>&lt;p&gt;Hi Shankara,&lt;/p&gt;
&lt;p&gt;Views don&amp;#39;t correspond to schema sections. The data source (called the &amp;quot;schema&amp;quot;) is independent of the views so you can&amp;#39;t create an XML fragment for your Web service based on your view. You could use a data-driven Web service, like Qdabra&amp;#39;s DBXL which allows you to conditionally specify some nodes to map based on fields in the form but writing your own code to do this is going to be time consuming and error-prone. I recommend creating separate forms for those views and submitting them separately.&lt;/p&gt;
&lt;p&gt;Best of luck!&lt;/p&gt;</description></item><item><title>Read the Infopath form/view as an XML</title><link>https://www.infopathdev.com:443/forums/thread/62147.aspx</link><pubDate>Fri, 10 Dec 2010 01:40:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62147</guid><dc:creator>Shankara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62147.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62147</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am very new to infopath. Please help in the below scenario.&lt;/p&gt;
&lt;p&gt;I have a multiple views. I would like to persist some data in DB, before submitting to sharepoint. I have a&amp;nbsp; Webservice which expects an XML and has its own logic to save the information by parsing the XML. What I need is, how do I get the XML with data&amp;nbsp;of the current view in code behind on a button click event[C# VSTA]??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Appreciate your help and thanks in advance.&lt;/p&gt;
&lt;p&gt;Shankara.&lt;/p&gt;</description></item></channel></rss>