I have a series of elements called <entries>.  Inside each one of these is 
another element that labels the entries. 

<entries>
  <string name="name" value="properties"> </string>
</entries>
<entries>
  <string name="name" value="ErrorForm"> </string>
</entries> 

To give an example.  Can I use xmltask to replace one of those entries? 

In English I want to say: replace the <entries> element IF it contains a 
<string> element whose value attribute is "properties". 

I tried specifying it like this:
                        <remove path="//entries/[EMAIL 
PROTECTED]'properties'/..]" /> 

but got this error: 

Applying RemovalAction() to 
//entries/[EMAIL PROTECTED]'SERVICEMobilityProperties'/..]
  [xmltask] javax.xml.transform.TransformerException: ERROR! Unknown op 
code: 21 

Is there a way for me to remove this element? 

Thanks,
T

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to