<?xml version="1.0"?> 
<xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate">
<xupdate:insert-after select="/Tests[1]/Test[8]" >  <xupdate:element name="Test">    <Seven>
This is the seventh sentence.
    </Seven>
  </xupdate:element>
</xupdate:insert-after>

<xupdate:insert-after select="/Tests[1]/Test[9]" >  <xupdate:element name="Test">    <Eight>
This is the Eighth sentence.
    </Eight>
  </xupdate:element>
</xupdate:insert-after>

<xupdate:insert-after select="/Tests[1]/Test[1]/One[2]" >  <xupdate:element name="One">2.1
  </xupdate:element>
</xupdate:insert-after>

<xupdate:insert-after select="/Tests[1]/Test[3]/Three[2]" >  <xupdate:element name="Three">1
  </xupdate:element>
</xupdate:insert-after>

<xupdate:remove select="/Tests[1]/Test[5]/@type" />

<xupdate:append select="/Tests[1]/Test[7]" >  <xupdate:attribute name="LogilabXmldiffTmpAttrtype">Insert mixed element</xupdate:attribute>
</xupdate:append>

<xupdate:rename select="/Tests[1]/Test[7]/Seven[1]" >Five</xupdate:rename>

<xupdate:remove select="/Tests[1]/Test[6]/@type" />

<xupdate:append select="/Tests[1]/Test[8]" >  <xupdate:attribute name="LogilabXmldiffTmpAttrtype">Insert mixed element with text</xupdate:attribute>
</xupdate:append>

<xupdate:rename select="/Tests[1]/Test[8]/Eight[1]" >Six</xupdate:rename>

<xupdate:remove select="/Tests[1]/Test[7]/@type" />

<xupdate:append select="/Tests[1]/Test[9]" >  <xupdate:attribute name="type">Delete mixed element</xupdate:attribute>
</xupdate:append>

<xupdate:remove select="/Tests[1]/Test[8]/@type" />

<xupdate:append select="/Tests[1]/Test[10]" >  <xupdate:attribute name="type">Delete mixed element with text</xupdate:attribute>
</xupdate:append>

<xupdate:update select="/Tests[1]/Test[4]/Four[1]/text()[1]" >This WAS the fourth sentence.</xupdate:update>

<xupdate:update select="/Tests[1]/Test[7]/Five[1]/text()[1]" >This is the</xupdate:update>

<xupdate:insert-after select="/Tests[1]/Test[7]/Five[1]/text()[1]" >  <xupdate:element name="new">  </xupdate:element>
</xupdate:insert-after>

<xupdate:update select="/Tests[1]/Test[7]/Five[1]/text()[1]" >fifth sentence.</xupdate:update>

<xupdate:update select="/Tests[1]/Test[8]/Six[1]/text()[1]" >This is the</xupdate:update>

<xupdate:insert-after select="/Tests[1]/Test[8]/Six[1]/text()[1]" >  <xupdate:element name="new">and improved
  </xupdate:element>
</xupdate:insert-after>

<xupdate:update select="/Tests[1]/Test[8]/Six[1]/text()[1]" >sixth sentence.</xupdate:update>

<xupdate:insert-after select="/Tests[1]/Test[11]/Nine[1]/text()[1]" >  <xupdate:element name="b">(changed)
  </xupdate:element>
</xupdate:insert-after>

<xupdate:remove select="/Tests[1]/Test[2]/Two[2]" />

<xupdate:remove select="/Tests[1]/Test[3]/Three[1]" />

<xupdate:remove select="/Tests[1]/Test[5]" />

<xupdate:remove select="/Tests[1]/Test[5]" />

<xupdate:remove select="/Tests[1]/Test[5]/Five[1]/b[1]" />

<xupdate:remove select="/Tests[1]/Test[6]/Six[1]/b[1]" />

<xupdate:remove select="/Tests[1]/Test[9]/Nine[1]/b[2]" />

<xupdate:rename select="//LogilabXmldiffTmpAttrtype" >type</xupdate:rename>

</xupdate:modifications>