
Hi Yves, Our Java-based API should be enough for a developer to implement such a functionality so if you are interested in this approach I could elaborate. But we cannot implement something like this as a part of the default behavior. Maybe when you are working to refactor somebody else's content you should have the XML document in the Author mode displayed as "Full Tags With Attributes" (there is a toolbar drop down button for this). Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/9/2013 11:08 AM, Yves Barbion wrote:
Hi group
Suppose I get to edit content which was written by someone else, and I delete some elements of which I think that they do not have a specific purpose. For example, I see content wrapped in a <ph> element and I could just delete the <ph> element, but leave the content in the parent element. The <ph> element, however, may have been used for specific purposes in the output, for example DITA flagging, so it may have specific attribute values of which I was not aware. Would it be possible for oXygen to give me a warning if I were to delete such an element, for example:
"The element you are going to delete contains attributes. Are you sure you want to delete this element?"
And maybe add the "Do not ask again" option?
Thanks
-- Yves Barbion www.scripto.nu <http://www.scripto.nu>
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user