<?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>Re: Reference nodes in most recent repeating section</title><link>https://www.infopathdev.com:443/forums/thread/8836.aspx</link><pubDate>Wed, 18 Jan 2006 12:34:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8836</guid><dc:creator>sjc724</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8836</wfw:commentRss><description>Thank you!&lt;br /&gt;&lt;br /&gt;I actually did search through the threads, but it seems the solutions tend to revolve around the OnAfterChange event which I am not using.</description></item><item><title>Re: Reference nodes in most recent repeating section</title><link>https://www.infopathdev.com:443/forums/thread/8835.aspx</link><pubDate>Wed, 18 Jan 2006 02:37:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8835</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8835.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8835</wfw:commentRss><description>Check out this thread:&lt;a target="_blank" href=http://infopathdev.com/forums/topic.asp?TOPIC_ID=1569&gt;http://infopathdev.com/forums/topic.asp?TOPIC_ID=1569&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, this has been discussed many times before on this very forum. There is a search link in the upper right corner of the screen that might bring even more insight.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Reference nodes in most recent repeating section</title><link>https://www.infopathdev.com:443/forums/thread/5279.aspx</link><pubDate>Tue, 17 Jan 2006 17:05:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5279</guid><dc:creator>sjc724</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5279</wfw:commentRss><description>I have a repeating section that has several text boxes in it.  When the user inserts a new section I would like to set the text box control values programmatically.&lt;br /&gt;&lt;br /&gt;My question is, how do I reference the nodes in the most recently added section?  I am doing the following but I keep changing the values in the repeating section just before the newly inserted one  (this code is executed when a button is clicked, I don't want to set the values during the OnAfterChange event):&lt;br /&gt;&lt;br /&gt;thisXDocument.DOM.selectSingleNode("//dfs:dataFields//s0:GetCaseDataResponse//" + &lt;br /&gt; "s0:GetCaseDataResult//s0:Participants//s0:ParticipantBO//" +&lt;br /&gt; "s0:firstName[last()]").text = "some dynamic text";&lt;br /&gt;&lt;br /&gt;Thanks for any help you can offer!&lt;br /&gt;</description></item></channel></rss>