Hi all!

I have a XML samplte abouve and I need to add new attribute called Profile
but I can't remove all of others alredy present in XML. For example, this
is the original XML:

<nds dtdversion="1.0" ndsversion="8.5">
<source>
<product build="20070301_0603 " instance="SAPHR2MID_P"
version="3.5.0">DirXML Driver for SAP/HR</product>
<contact>Novell, Inc.</contact>
</source>
<input xmlns:sapshim="http://www.novell.com/dirxml/drivers/SAPShim">
<modify class-name="Organizational Unit"
event-id="SAPHR2MID_P:O_130_0000000000810853:O+00000350 " src-dn="00000350"
timestamp="20071222">
<association
xmlns:query="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.XdsQueryProcessor">O0 0000350</association>
<modify-attr attr-name="Description">
<remove-all-values/>
<add-value>
<value type="string">DEPTO</value>
</add-value>
</modify-attr>
<modify-attr attr-name="midSAP-org-timestamp">
<remove-all-values/>
<add-value>
<value type="string">20071221-1198331878</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>


I need to add Profile attribut, like this:

<nds dtdversion="1.0" ndsversion="8.5">
<source>
<product build="20070301_0603 " instance="SAPHR2MID_P"
version="3.5.0">DirXML Driver for SAP/HR</product>
<contact>Novell, Inc.</contact>
</source>
<input xmlns:sapshim="http://www.novell.com/dirxml/drivers/SAPShim">
<modify class-name="Organizational Unit"
event-id="SAPHR2MID_P:O_130_0000000000810853:O+00000350 " src-dn="00000350"
timestamp="20071222">
<association
xmlns:query="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.XdsQueryProcessor">O0 0000350</association>
<modify-attr attr-name="Description">
<remove-all-values/>
<add-value>
<value type="string">DEPTO</value>
</add-value>
</modify-attr>
<modify-attr attr-name="midSAP-org-timestamp">
<remove-all-values/>
<add-value>
<value type="string">20071221-1198331878</value>
</add-value>
</modify-attr>
<modify-attr attr-name="Profile">
<remove-all-values/>
<add-value>
<value type="string">O00000455</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>

I already do the query to create modify-attr to Profile, but when I create
all of other modifies are lost...

Anybody here can help me?

Tks.
Alan Cota.