<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to add resource file (xml) to Form Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/37008.aspx</link><pubDate>Tue, 13 Jan 2009 11:02:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37008</guid><dc:creator>Rajitha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37008</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;If you want to add the same xml file with different data then, no need to change the xml file itself.&lt;/p&gt;
&lt;p&gt;You can change the data in the xml file, right?&lt;/p&gt;
&lt;p&gt;To get xml file in to form code you can use the below statement.&lt;/p&gt;
&lt;p&gt;IXMLDOMDocument2 domCustomers = (IXMLDOMDocument2)thisXDocument.GetDOM(&amp;quot;Customers&amp;quot;);&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: How to add resource file (xml) to Form Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/36992.aspx</link><pubDate>Tue, 13 Jan 2009 07:20:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36992</guid><dc:creator>Hunupolagama</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36992.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36992</wfw:commentRss><description>&lt;p&gt;i want to do it using c# not using IP UI&lt;/p&gt;</description></item><item><title>Re: How to add resource file (xml) to Form Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/36987.aspx</link><pubDate>Tue, 13 Jan 2009 06:24:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36987</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36987</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Can you verify below steps.&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Open form in design mode.&lt;/font&gt; 
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Select Tools &lt;/font&gt;&lt;span style="FONT-FAMILY:Wingdings;mso-ascii-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;&lt;span style="mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;font face="Times New Roman"&gt; Resource Files.&lt;/font&gt;&lt;/font&gt; 
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on add button and select your xml file.&lt;/font&gt; 
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Select “Replace the existing file” option.&lt;/font&gt; 
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on ok.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Note: Make sure your new xml file and already added xml file name should be same.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;2. Otherwise extract you template into one folder. Now replace your new “&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-ansi-language:EN;"&gt;&lt;font face="Arial"&gt;customers&lt;/font&gt;.xml” file fin the&amp;nbsp;extracted folder. In this way you will see the newly added values in the infopath form.&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;If you want to add any new values, then update your xml file in the extracted folder. It is the better way to update the Resource file from Extracted folder.&lt;/p&gt;</description></item><item><title>Re: How to add resource file (xml) to Form Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/36986.aspx</link><pubDate>Tue, 13 Jan 2009 06:10:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36986</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36986.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36986</wfw:commentRss><description>&lt;p&gt;We can modify the resource files in infopath itseif.&lt;/p&gt;
&lt;p&gt;1.Open infopath in design mode.&lt;br /&gt;2.Go to Tools-&amp;gt;Resource Files.&lt;br /&gt;3.Remove the existing customers.xml file and add the latest customers.xml file.&lt;br /&gt;4.Save the form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to add resource file (xml) to Form Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/36982.aspx</link><pubDate>Tue, 13 Jan 2009 05:21:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36982</guid><dc:creator>Hunupolagama</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36982.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36982</wfw:commentRss><description>&lt;p&gt;hi, &lt;/p&gt;
&lt;p&gt;i&amp;#39;m new to IP development&lt;/p&gt;
&lt;p&gt;i designed application form using IP 2007 and it contains customers.xml as resource file, i want to add same file with different data Programmatically before publish&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>