How to delete xml content without deleting the content of the object?
Hey, with the following code I am marking up a page item and deleting it's xml content:
text_value = text_area.xmlElements.add('text', current)
text_value.contents = '';
current is the current app.selection. The code works, with one downside: It also deletes the content of my text frame in my document. I only want to delete the xml content. Is this somehow possible?
Thanks in advance!!
Regards
Fred
