<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/64018.aspx</link><pubDate>Wed, 09 Feb 2011 13:36:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64018</guid><dc:creator>kbailey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64018.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=64018</wfw:commentRss><description>&lt;p&gt;thank you for your follow up! that fixed the problem - thanks again for sticking with me on this one.&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/64001.aspx</link><pubDate>Tue, 08 Feb 2011 21:11:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64001</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=64001</wfw:commentRss><description>&lt;p&gt;Thanks for sending your template, Kevin. The issue is that there&amp;#39;s a preceding rule that calls the Delete qRules command to delete the attendees parent node. So then the Insert rule fails because the parent node doesn&amp;#39;t exist anymore.&lt;/p&gt;&lt;p&gt;What you&amp;#39;d want to do is change your Delete rule to point to the attendee child repeating group instead, so the command would be: Delete /xpath=/my:meetingAgenda/my:attendees/my:attendee&lt;/p&gt;&lt;p&gt;Please let us know if the issue still persists. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63995.aspx</link><pubDate>Tue, 08 Feb 2011 18:25:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63995</guid><dc:creator>kbailey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63995.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63995</wfw:commentRss><description>&lt;p&gt;Thanks for your efforts on my behalf - I have sent the form via email.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Kevin&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63994.aspx</link><pubDate>Tue, 08 Feb 2011 18:21:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63994</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63994</wfw:commentRss><description>&lt;p&gt;Very strange. I just designed a form with a schema similar to yours, and tried the command:&lt;/p&gt;&lt;p style="font-weight:bold;font-style:italic;"&gt;Insert /parent=/my:meetingAgenda/my:attendees /child=my:attendee /count=2&lt;/p&gt;&lt;p&gt;This worked fine. I also tried the command with concat(). I&amp;#39;m attaching a screenshot of the schema I created to test your scenario.&lt;/p&gt;&lt;p&gt;Anyway, please send the form, as Jimmy says. The command should work but there may be an issue we&amp;#39;re not seeing yet. Thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63993.aspx</link><pubDate>Tue, 08 Feb 2011 18:17:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63993</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63993</wfw:commentRss><description>&lt;p&gt;Could you e-mail the form to Support &lt;strong&gt;at&lt;/strong&gt; Qdabra &lt;strong&gt;Dot&lt;/strong&gt; Com, so we could have a look at it directly?&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63991.aspx</link><pubDate>Tue, 08 Feb 2011 18:00:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63991</guid><dc:creator>kbailey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63991.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63991</wfw:commentRss><description>&lt;p&gt;This is my main data source. Here is the xpath:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;/my:meetingAgenda/my:attendees/my:attendee&lt;/p&gt;
&lt;p&gt;Thanks again for any help you can give!&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63988.aspx</link><pubDate>Tue, 08 Feb 2011 17:43:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63988</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63988</wfw:commentRss><description>&lt;p&gt;Thanks for the screenshot.&amp;nbsp; The command you pasted after UPDATE in the last line of your post does look correct.&amp;nbsp; Can you right-click the &lt;strong&gt;attendee&lt;/strong&gt; node, select Copy XPath, and paste the value somewhere, to make sure that &lt;strong&gt;my:&lt;/strong&gt; is the prefix you need to be using.&amp;nbsp; Also, is this in your main data source, or a secondary source?&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63987.aspx</link><pubDate>Tue, 08 Feb 2011 17:37:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63987</guid><dc:creator>kbailey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63987</wfw:commentRss><description>&lt;p&gt;Thanks for your reply. Screenshot attached.&lt;/p&gt;</description></item><item><title>Re: Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63985.aspx</link><pubDate>Tue, 08 Feb 2011 16:51:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63985</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63985</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you attach a screenshot of your main data source?&amp;nbsp; You can use the Options tab when you reply to attach a file.&lt;/p&gt;</description></item><item><title>Trying to insert node: failed to insert the child node</title><link>https://www.infopathdev.com:443/forums/thread/63983.aspx</link><pubDate>Tue, 08 Feb 2011 16:39:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63983</guid><dc:creator>kbailey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=63983</wfw:commentRss><description>&lt;p&gt;Greetings, all. First, please accept my apologies for my ignorance - I&amp;#39;m still getting my feet wet with qRules and Xpath. I am trying to insert rows of data into a repeating node. Here is the pertinent section of my main data source:&lt;/p&gt;
&lt;p&gt;-meetingAgenda&lt;/p&gt;
&lt;p&gt;&amp;nbsp; -attendees&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -attendee (repeating)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idNumber&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -attendeeInfo&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; Last_Name&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; First_Name&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; E-mail_Address&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here is my insert statement:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;Insert /parent=/my:meetingAgenda /xpathsrc=/my:meetingAgenda/my:attendees/my:attendee /count=&amp;quot;, Count)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried first doing this using the &amp;#39;child&amp;#39; option (using /child=my:attendee) but got the &amp;#39;failed to insert the child node&amp;#39; error, then I found Jimmy&amp;#39;s post where he suggested using xpathsrc, but that throws the same error. Can anyone tell me what I am doing wrong?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;
&lt;p&gt;&amp;nbsp;UPDATE: If I use this: concat(&amp;quot;Insert /parent=/my:meetingAgenda/my:attendees /child=my:attendee /count=&amp;quot;, Count)&amp;nbsp; I get the error &amp;quot;failed to select the parent node&amp;quot;&lt;/p&gt;</description></item></channel></rss>