<?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>iterate over repeating table problem</title><link>https://www.infopathdev.com:443/forums/thread/22993.aspx</link><pubDate>Wed, 12 Sep 2007 07:42:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22993</guid><dc:creator>donovanhill</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22993</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am having problems with extracting values from a repeating table within an Infopath 2007 form, the following code will extract all node values, rather than just the repeating table, I only need&lt;/p&gt;
&lt;p&gt;the table values, not the entire form. The table node name is group2, which I have selected, but for some reason it just ignores this, would anyone know where I am going wrong? any help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dim navigator As XPathNavigator = CreateNavigator() &lt;br /&gt;&lt;br /&gt;Dim nodes As XPathNodeIterator = &lt;br /&gt;navigator.Select(&amp;quot;/my:myFields/my:group2&amp;quot;, NamespaceManager) &lt;br /&gt;Dim nodesNavigator As XPathNavigator = nodes.Current &lt;br /&gt;&lt;br /&gt;Dim nodestext As XPathNodeIterator = &lt;br /&gt;nodesNavigator.SelectDescendants(XPathNodeType.Text, False) &lt;br /&gt;&lt;br /&gt;While nodestext.MoveNext() &lt;br /&gt;&lt;br /&gt;MessageBox.Show(nodestext.Current.Value) &lt;br /&gt;&lt;br /&gt;End While &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp; Kevin.&lt;/p&gt;</description></item></channel></rss>