<?xml version="1.0"?> 
<xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate">
<xupdate:insert-after select="/bean[1]/add[1]/bean[1]/property[2]" >  <xupdate:element name="add">    <bean id="scale">
      <property name="minimum" value="0"/>
      <property name="maximum" value="100"/>
      <property name="value" value="50"/>
    </bean>
  </xupdate:element>
</xupdate:insert-after>

<xupdate:remove select="/bean[1]/add[1]/bean[1]/add[2]/bean[1]/@class" />

<xupdate:append select="/bean[1]/add[1]/bean[1]/add[1]/bean[1]" >  <xupdate:attribute name="class">java.awt.Scrollbar</xupdate:attribute>
</xupdate:append>

<xupdate:remove select="/bean[1]/add[1]/bean[1]/add[2]/bean[1]/event-binding[1]" />

<xupdate:insert-after select="/bean[1]/add[1]/bean[1]/add[1]/bean[1]/property[3]" >  <xupdate:element name="event-binding">    <xupdate:attribute name="name">adjustment</xupdate:attribute>
    <xupdate:attribute name="targetObject">adjustmenthandler</xupdate:attribute>
  </xupdate:element>
</xupdate:insert-after>

<xupdate:update select="/bean[1]/add[1]/bean[1]/add[1]/bean[1]/@class" >java.awt.Scrollbar</xupdate:update>

<xupdate:update select="/bean[1]/add[1]/bean[1]/add[1]/bean[1]/event-binding[1]/@name" >adjustment</xupdate:update>

<xupdate:update select="/bean[1]/add[1]/bean[1]/add[1]/bean[1]/event-binding[1]/@targetObject" >adjustmenthandler</xupdate:update>

<xupdate:remove select="/bean[1]/add[1]/bean[1]/add[2]" />

</xupdate:modifications>