<?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: Linking repeating tables + Completion percentage</title><link>https://www.infopathdev.com:443/forums/thread/35214.aspx</link><pubDate>Wed, 03 Dec 2008 14:04:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35214</guid><dc:creator>Christoffel de Gruyter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35214.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35214</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sorry, but I don&amp;#39;t really understand. I can&amp;#39;t use the secondary nodes because they&amp;#39;re read-only.&lt;/p&gt;
&lt;p&gt;But, maybe my question wasn&amp;#39;t clear enough. I can link specific nodes, but I can&amp;#39;t link folders. Is there any way to link these folders?&lt;/p&gt;</description></item><item><title>Re: Linking repeating tables + Completion percentage</title><link>https://www.infopathdev.com:443/forums/thread/35142.aspx</link><pubDate>Tue, 02 Dec 2008 13:29:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35142</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35142.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35142</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We can get the default node values while importing the DOM.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1. In your case repeating section node contains more than one then we have to replace with parent node in main DOM parent node. Sample of schema structure,&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Secondary DOM,&lt;/p&gt;
&lt;p&gt;&amp;lt;my:myFields&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;my:FirstNodeName&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;my:Groups&amp;gt; //Parent of repeating section (group)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;my:Group&amp;gt; //Repeating node name or group&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;my:FirstName /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;my:SecondName /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/my:Group&amp;gt; //End of repeating node&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/my:Groups&amp;gt; //End of parent repeating section&lt;/p&gt;
&lt;p&gt;&amp;lt;/my:myFields&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to export ‘&amp;lt;my:Group&amp;gt;&amp;#39; node details to main DOM then you have replace with main DOM -&amp;gt; &amp;lt;my:Groups&amp;gt; node with secondary DOM ‘&amp;lt;my:Groups&amp;gt;&amp;#39; node.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;2. If your main DOM and secondary DOM schema structure is different then you have to get every node value and copy to main DOM node using code.&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>Re: Linking repeating tables + Completion percentage</title><link>https://www.infopathdev.com:443/forums/thread/35128.aspx</link><pubDate>Tue, 02 Dec 2008 10:31:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35128</guid><dc:creator>Christoffel de Gruyter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35128.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35128</wfw:commentRss><description>&lt;p&gt;Ah, no, I wasn&amp;#39;t really clear it seems.&lt;/p&gt;
&lt;p&gt;Just like when you can easely default one node from a data connection to one of your nodes in your main, I would also like to default folders, so they can recieve all data, instead of just the first fields. This isn&amp;#39;t possible however, so I&amp;#39;m wondering how I could import multiple lines of data at the same time so it automatically fills out my repeating tables.&lt;/p&gt;
&lt;p&gt;Second, thanks for the code :).&lt;/p&gt;</description></item><item><title>Re: Linking repeating tables + Completion percentage</title><link>https://www.infopathdev.com:443/forums/thread/35125.aspx</link><pubDate>Tue, 02 Dec 2008 10:23:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35125</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35125</wfw:commentRss><description>&lt;p&gt;Hello Welcome to the Forums,&lt;/p&gt;
&lt;p&gt;1. While importing the xml nodes if you do not want repeat the nodes means we have to write the small code to remove those nodes.&lt;/p&gt;
&lt;p&gt;IXMLDOMSelection nodes = (IXMLDOMSelection)thisXDcoument.DOM.selectNodes(&amp;quot;XPath of repeating node&amp;quot;);&lt;/p&gt;
&lt;p&gt;nodes.removeAll();&lt;/p&gt;
&lt;p&gt;2. If you want to copy the repeating fields to another dom, If the schema structure is same then we can replace with node list parent node to another parent node.&lt;/p&gt;
&lt;p&gt;3. If we want to get node list of the number of fields in main dom then we can easily get how many fields are there in that node using below code,&lt;/p&gt;
&lt;p&gt;int numberOfFields = nodeList.Count;&lt;/p&gt;
&lt;p&gt;Note: Above code in C#.&lt;/p&gt;</description></item><item><title>Linking repeating tables + Completion percentage</title><link>https://www.infopathdev.com:443/forums/thread/35087.aspx</link><pubDate>Mon, 01 Dec 2008 13:37:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35087</guid><dc:creator>Christoffel de Gruyter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35087</wfw:commentRss><description>&lt;p&gt;Simple question really. I&amp;#39;m syncing Infopath with a bunch of xml export files, and although it&amp;#39;s quite easy to default a given node to an imported XML&amp;#39;s node. This data does not repeat itself in repeated tables.&lt;/p&gt;
&lt;p&gt;Is it possible to link my repeated tables to their respective xml paths?&lt;/p&gt;
&lt;p&gt;Second, is there any kind of formula or VB code that counts&amp;nbsp;the number of filled&amp;nbsp;nodes in main, divided with the total number of nodes?&lt;/p&gt;</description></item></channel></rss>