<?xml version="1.0" encoding="Windows-1255" ?><Rule name="doInsert" modifier="transactive" scope="protected" sortGroup="true" id="core.gml2:doInsert" sort="27" urn="core.gml2:rules.composition.doInsert.xml" toc="\Rules\Composition rules"><Summary>Inserts a collection of elements into a given parent element.</Summary><Parameters signature="transactive rule::&lt;div style=&quot;padding:6 0 0 16&quot;&gt;&lt;b&gt;doInsert&lt;/b&gt;(&lt;i&gt;unit&lt;/i&gt;, &lt;i&gt;board&lt;/i&gt;, &lt;i&gt;parent&lt;/i&gt;, &lt;i&gt;parentKey&lt;/i&gt;, &lt;i&gt;elements&lt;/i&gt;) &amp;rarr; Boolean&lt;/div&gt;"><Param name="unit" type="core.gml2:Unit!" typeRef="&lt;q ref=&quot;core.gml2:Unit&quot;&gt;Unit&lt;/q&gt;">The unit classifier.</Param><Param name="board" type="core.dev:IBoard!" typeRef="&lt;q ref=&quot;core.dev:IBoard&quot;&gt;IBoard&lt;/q&gt;">The board classifier.</Param><Param name="parent" type="core.gml2:Element!" typeRef="&lt;q ref=&quot;core.gml2:Element&quot;&gt;Element&lt;/q&gt;">The parent classifier. This is the parent element into which the given elements are to be inserted.</Param><Param name="parentKey" type="String">The parent collection key.</Param><Param name="elements" type="core.gml:GmlObject![id]" typeRef="&lt;q ref=&quot;core.gml:GmlObject&quot;&gt;GmlObject&lt;/q&gt;[id]">The elements to insert.</Param></Parameters><Classifiers><Classifier name="unit" type="gml2:Unit" expr="unit"></Classifier><Classifier name="board" type="dev:IBoard" expr="board"></Classifier><Classifier name="parent" type="gml2:Element" expr="parent"></Classifier></Classifiers><Return type="Boolean">Returns the rule's success/failure status.</Return><Remarks>&lt;h2&gt;Dependencies&lt;/h2&gt;&lt;table class=&quot;WHITE&quot; style=&quot;width:auto; margin-top:0&quot; cellspacing=&quot;1&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;&lt;i&gt;pre-condition:&lt;/i&gt; &lt;/td&gt;&lt;td class=H&gt;&lt;q ref=&quot;core.gml2:canInsert&quot;&gt;canInsert&lt;/q&gt; == true &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
	&lt;h2&gt;Behavior&lt;/h2&gt;
	The behavior can be extended to perform custom actions when elements are inserted.</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
</Topics>
</Rule>