<?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: Add a node to main data source</title><link>https://www.infopathdev.com:443/forums/thread/91671.aspx</link><pubDate>Sat, 27 Jul 2013 23:36:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91671</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91671.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=91671</wfw:commentRss><description>&lt;p&gt;Hi Tivalli,&lt;/p&gt;
&lt;p&gt;Sure, anything&amp;#39;s possible with code. :)&amp;nbsp; BTW, your XML is not well-formed - you don&amp;#39;t have beginning tags for my:reg_code and my:reg_name.&lt;/p&gt;
&lt;p&gt;InfoPath will automatically upgrade old forms and insert the new field. If you have &amp;lt;20-30 forms that might be the easiest solution.&lt;/p&gt;
&lt;p&gt;There used to be a feature in SharePoint to allow demotion which would allow you to edit XML contents via a datagrid view but that option is gone.&lt;/p&gt;
&lt;p&gt;We have a tool that supports created XML forms from an Excel spreadsheet. You could use that to batch add the value, but it would require generating the Excel and configuring it to map to XML. Could be an hour or two and you&amp;#39;ll have to get the tool. We also have a DBXL migration tool (under downloads) that you can use to transform XMLs using XSLT. It will do a bulk transform and you don&amp;#39;t need to buy anything but you&amp;#39;d have to install the DBXL Web service trial and then migration tool. You&amp;#39;d also have to right some XSLT. But, that would be an easier option if your XML is complex and you have thousands of XMLs.&lt;/p&gt;
&lt;p&gt;Send us email if you&amp;#39;d like to pay for an hour of support.&lt;/p&gt;</description></item><item><title>Add a node to main data source</title><link>https://www.infopathdev.com:443/forums/thread/91653.aspx</link><pubDate>Fri, 26 Jul 2013 12:02:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91653</guid><dc:creator>Tivalli</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=91653</wfw:commentRss><description>&lt;p&gt;Hello!&lt;/p&gt;&lt;p&gt;In my form I have a repeating table, which in main data source looks like&lt;/p&gt;&lt;p&gt;&amp;lt;my:reg_info&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;lt;/my:reg_code&amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;lt;/my:reg_name&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/my:reg_info&amp;gt;&lt;/p&gt;&lt;p&gt;But in the newest form I had to add &amp;lt;/my:reg_date&amp;gt; to this scope.&lt;/p&gt;&lt;p&gt;Is it possible to add this field to the older filled forms&amp;nbsp; programmatically using C#? &lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>