<?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: Filling a repeating table from xml doc at once</title><link>https://www.infopathdev.com:443/forums/thread/14153.aspx</link><pubDate>Sat, 31 Dec 2005 20:38:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14153</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14153</wfw:commentRss><description>Thanks for answer, im using c#. I removed this problem by adding last() function to ixmldomnode, and im adding a new row always when im going do append a row(without this it erases last row).&lt;br /&gt;&lt;br /&gt;ps.Happy New Year everybody :-)</description></item><item><title>Re: Filling a repeating table from xml doc at once</title><link>https://www.infopathdev.com:443/forums/thread/14152.aspx</link><pubDate>Sat, 31 Dec 2005 18:34:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14152</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14152</wfw:commentRss><description>What language are you using? That does not look familiar.&lt;br /&gt;&lt;br /&gt;Using JScript, this should be able to be accomplished like this:&lt;br /&gt;&lt;br /&gt;var parentGroup = XDocument.DOM.selectNodes( "//childNodes" );&lt;br /&gt;var oneSampleNode = parentGroup.nextNode();&lt;br /&gt;&lt;br /&gt;parentGroup.appendChild( oneSampleNode.cloneNode( false ) );&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: Filling a repeating table from xml doc at once</title><link>https://www.infopathdev.com:443/forums/thread/14151.aspx</link><pubDate>Fri, 30 Dec 2005 13:28:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14151</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14151</wfw:commentRss><description>This first row is killing me...How force 'table.appendchild(row)' to inserting right after last inserted row??</description></item><item><title>Re: Filling a repeating table from xml doc at once</title><link>https://www.infopathdev.com:443/forums/thread/14150.aspx</link><pubDate>Fri, 30 Dec 2005 12:18:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14150</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14150</wfw:commentRss><description>Well, i moved row=row.clonenode(true); right before table.appenchild(row) and it works...almost...I have 2 copies of last node, and any new clik, fills first row in table(erasing it's content) and rest of nodes are append on bottom of table correctly with a new rows...</description></item><item><title>Re: Filling a repeating table from xml doc at once</title><link>https://www.infopathdev.com:443/forums/thread/14149.aspx</link><pubDate>Fri, 30 Dec 2005 08:06:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14149</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14149.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14149</wfw:commentRss><description>Please help... How to add multiple rows to repeating table by one click?</description></item><item><title>Filling a repeating table from xml doc at once</title><link>https://www.infopathdev.com:443/forums/thread/12725.aspx</link><pubDate>Thu, 29 Dec 2005 23:00:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12725</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12725</wfw:commentRss><description>Im using xmltextreader 'doc' to get the file. File looks like this:&lt;br /&gt;&lt;i&gt;[...]&lt;br /&gt;&amp;lt;node&amp;gt;&lt;br /&gt;&amp;lt;field1&amp;gt;x1&amp;lt;/field1&amp;gt;&lt;br /&gt;&amp;lt;field2&amp;gt;y1&amp;lt;/field2&amp;gt;&lt;br /&gt;&amp;lt;/node&amp;gt;&lt;br /&gt;&amp;lt;node&amp;gt;&lt;br /&gt;&amp;lt;field1&amp;gt;x2&amp;lt;/field1&amp;gt;&lt;br /&gt;&amp;lt;field2&amp;gt;y2&amp;lt;/field2&amp;gt;&lt;br /&gt;&amp;lt;/node&amp;gt;&lt;br /&gt;[...]&lt;/i&gt;&lt;br /&gt;Then it goes like that:&lt;br /&gt;(table and row is pointed ok)&lt;br /&gt;row=row.clonenode(true);&lt;br /&gt;&lt;i&gt;while(doc.read())&lt;br /&gt;{&lt;br /&gt;if(doc.name==xmlnodetype.element)&lt;br /&gt;{&lt;br /&gt;if(doc.name=="my:field1")&lt;br /&gt;{ row.selectsinglenode("xxx").text=doc.readelementstring; doc.read(); }&lt;br /&gt;if(doc.name=="my:field2")&lt;br /&gt;{ row.selectsinglenode("yyy").text=doc.readelementstring; doc.read(); }&lt;br /&gt;table.appenchild(row);&lt;br /&gt;}&lt;br /&gt;}&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;And i always get only last node's fields in my table...When i click button again it adds a new row, with last node's data of course...What is wrong?&lt;br /&gt;</description></item></channel></rss>