<?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: Qrules - trying insert on repeating field in repeating group but getting "Failed to insert child".</title><link>https://www.infopathdev.com:443/forums/thread/70179.aspx</link><pubDate>Fri, 09 Sep 2011 15:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70179</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70179.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=70179</wfw:commentRss><description>&lt;p&gt;Hello Catharine,&lt;/p&gt;
&lt;p&gt;The issue is the structure of your data source.&amp;nbsp; &lt;strong&gt;InterfacingSoftwareInformation&lt;/strong&gt; has that &lt;strong&gt;Attributes&lt;/strong&gt; sibling after it, so when qRules tries to insert the new node, it tries to add it &lt;em&gt;after&lt;/em&gt; Attributes, and that creates a schema validation error.&lt;/p&gt;
&lt;p&gt;Is there any possibility you could modify your data source so that &lt;strong&gt;InterfacingSoftwareInformation&lt;/strong&gt; has its own exclusive parent, perhaps by creating a group&amp;nbsp;called &lt;strong&gt;InterfacingSoftwareInformation&lt;em&gt;Items&lt;/em&gt;&lt;/strong&gt;&lt;em&gt; &lt;/em&gt;as a child of &lt;strong&gt;InterfacingSoftwareInformationGroup&lt;/strong&gt; and the parent of &lt;strong&gt;InterfacingSoftwareInformation&lt;/strong&gt;?&lt;/p&gt;</description></item><item><title>Re: Qrules - trying insert on repeating field in repeating group but getting "Failed to insert child".</title><link>https://www.infopathdev.com:443/forums/thread/70178.aspx</link><pubDate>Fri, 09 Sep 2011 14:55:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70178</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=70178</wfw:commentRss><description>&lt;p&gt;Hi Catharine,&lt;/p&gt;&lt;p&gt;From a glance, it looks like it should work. The quickest thing may be to get your form and run it in debug. Can you send it to us?&lt;/p&gt;&lt;p&gt;Thanks. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Qrules - trying insert on repeating field in repeating group but getting "Failed to insert child".</title><link>https://www.infopathdev.com:443/forums/thread/70176.aspx</link><pubDate>Fri, 09 Sep 2011 14:11:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70176</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=70176</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using qrules 3.1 and infopath 2007.&lt;/p&gt;
&lt;p&gt;I am struggling to insert a child of a child... I have read some of the other posts and have got a bit further - i.e. that I need to have the xpathsrc, but I now have the &amp;quot;failed to insert child&amp;quot; message.&lt;/p&gt;
&lt;p&gt;The relevant portion of the data structure is attached.&lt;/p&gt;
&lt;p&gt;I am wanting to add a further my:InterfacingSoftwareInformation node.- to a specific InterfacedApplication&lt;/p&gt;
&lt;p&gt;The command I am using is...&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;Insert /parent=/my:myFields/my:Interfaces/my:InterfacedApplicationGroup/my:InterfacedApplicationList/my:InterfacedApplicationInformation[./my:InterfacedApplication = &amp;quot;0000404&amp;quot;]/my:InterfacingSoftwareInformationGroup /child=my:InterfacingSoftwareInformation /xpathsrc=/my:myFields/my:Interfaces/my:InterfacedApplicationGroup/my:InterfacedApplicationList/my:InterfacedApplicationInformation/my:InterfacingSoftwareInformationGroup/my:InterfacingSoftwareInformation&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;I am using the insert command from code - setting the value of&amp;nbsp;the QdabraRules datasource Command field to be the&amp;nbsp;command above.&amp;nbsp; This has worked very well&amp;nbsp;for other scenarios.&lt;/p&gt;
&lt;p&gt;In the code I have checked that the /parent xpath returns a valid node.&lt;/p&gt;
&lt;p&gt;I cannot see where I am going wrong.&amp;nbsp; Could someone give me a pointer ?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>