<?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: Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/14527.aspx</link><pubDate>Mon, 08 May 2006 14:28:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14527</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14527.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14527</wfw:commentRss><description>Glad I could help!&lt;br /&gt;&lt;br /&gt;And thanks for the compliment, I don't think I've ever been told "ta heaps works a treat", ha!</description></item><item><title>Re: Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/14526.aspx</link><pubDate>Mon, 08 May 2006 04:53:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14526</guid><dc:creator>StephenM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14526</wfw:commentRss><description>Ta heaps works a treat.&lt;br /&gt;&lt;br /&gt;This is a handy little tip cheers.</description></item><item><title>Re: Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/14525.aspx</link><pubDate>Sun, 07 May 2006 08:18:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14525</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14525</wfw:commentRss><description>Try this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim temp&lt;br /&gt;temp = XDocument.DOM.selectSingleNode("/my:myFields/my:field1").text&lt;br /&gt;&lt;br /&gt;Dim sampleNode = XDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2")&lt;br /&gt;&lt;br /&gt;Dim newNode = sampleNode.cloneNode(true)&lt;br /&gt;newNode.selectSingleNode("my:field2").text = temp&lt;br /&gt;&lt;br /&gt;sampleNode.parentNode.appendChild( newNode )&lt;br /&gt;&lt;br /&gt;PS - I don't normally do VBScript so hopefully the syntax is cohesive.</description></item><item><title>Re: Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/14524.aspx</link><pubDate>Sat, 06 May 2006 23:40:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14524</guid><dc:creator>StephenM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14524</wfw:commentRss><description>Thats what I want to know how to do how do I Append a new node?&lt;br /&gt;&lt;br /&gt;Cheers</description></item><item><title>Re: Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/14523.aspx</link><pubDate>Fri, 05 May 2006 11:16:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14523</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14523</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;From the above conversation i uderstood is that,&lt;br /&gt;&lt;br /&gt;you have text box,&lt;br /&gt;repeating section with field,&lt;br /&gt;Entered text in text box is displayed in a field in repeating section,&lt;br /&gt;&lt;br /&gt;what iam thinking is that you are not appending section in onclick button,&lt;br /&gt;thats why entered text in text box overwriting with previous one,&lt;br /&gt;&lt;br /&gt;I have one suggestion is , take field as repeating table,&lt;br /&gt;create new node and append it sending entered data in text box,&lt;br /&gt;&lt;br /&gt;I think this will help you,&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/14522.aspx</link><pubDate>Fri, 05 May 2006 05:52:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14522</guid><dc:creator>StephenM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14522.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14522</wfw:commentRss><description>I had that but it only allowed me to add one entry as it just overworte the previous. I want the user to add as many as they like to the group. I didnt explain it very well.&lt;br /&gt;</description></item><item><title>Re: Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/14521.aspx</link><pubDate>Fri, 05 May 2006 05:41:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14521</guid><dc:creator>uma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14521.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14521</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Here is the code for which you want execute your example of sample using vbscript.&lt;br /&gt;&lt;br /&gt;But you have to include this code in the onclick event of the button for which you want handile.&lt;br /&gt;&lt;br /&gt;Dim temp&lt;br /&gt;temp=XDocument.DOM.selectSingleNode("/my:myFields/my:field1").text&lt;br /&gt;XDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:group2/my:field2").text=temp</description></item><item><title>Adding data to a xml group</title><link>https://www.infopathdev.com:443/forums/thread/12856.aspx</link><pubDate>Fri, 05 May 2006 01:27:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12856</guid><dc:creator>StephenM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12856.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12856</wfw:commentRss><description>People&lt;br /&gt;&lt;br /&gt;I am trying to progamatically populate data in an xml group. &lt;br /&gt;&lt;br /&gt;For eg I have a textbox that people would type data in and then click a button which will add the data to a field in a repeating section.&lt;br /&gt;&lt;br /&gt;Im trying to do it in VBscript.&lt;br /&gt;&lt;br /&gt;Any help cheers</description></item></channel></rss>