DeleteElementOperation
Posted: Thu May 29, 2014 4:15 pm
Currently using XML Editor 15.2, build 2014040317.
Wanting to remove all elements of a certain name within an action operation. Was looking at creating author action using the DeleteElementOperation. I set the invoke the operation to ro.sync.ecss.extensions.commons.operations.DeleteElementOperation, however you cannot create any arguments. In looking at some oxygen samples the travel guide (Sample) the DeleteElementOperation is in there and there is an argument option. How do you get the arguments inserted?
Is there a better way of accomplishing element removal. We use empty elements to show start and stop of revision indication. When starting a new revision the old element tags are removed and wanted to add a button on my menu for users to select that would remove the elements. Can accomplish via xsl and adding to external tools but want on the same menu as other actions.
Regards,
Keith
Wanting to remove all elements of a certain name within an action operation. Was looking at creating author action using the DeleteElementOperation. I set the invoke the operation to ro.sync.ecss.extensions.commons.operations.DeleteElementOperation, however you cannot create any arguments. In looking at some oxygen samples the travel guide (Sample) the DeleteElementOperation is in there and there is an argument option. How do you get the arguments inserted?
Is there a better way of accomplishing element removal. We use empty elements to show start and stop of revision indication. When starting a new revision the old element tags are removed and wanted to add a button on my menu for users to select that would remove the elements. Can accomplish via xsl and adding to external tools but want on the same menu as other actions.
Regards,
Keith