Removing the XML Structure from a Document
What if you want to rid your document from all those pesky XML tags? This sure-fire way does it fast!
I.S. wrote:
I have a file that contains tagged XML content. I was asked to remove the XML from the document. Is there a way to delete/de-link the XML from a document?
If you open the Structure pane (press command/ctrl-option/alt-1) and select the XML elements, you can delete them. When you do this, InDesign gives you an option:
The default choice, Delete, actually removes the content from your document — the paragraphs or images go away! If you just want to remove the tags without messing up your document, choose Untag.
If this alert doesn’t appear (perhaps someone clicked Don’t Show Again), then you have another choice: Select the elements (you can select them all by opening the Root element, then clicking on the first element and shift-clicking on the last element) and choose Untag Element from the Structure panel menu (it’s a little menu in the upper-right corner of the Structure pane):
That should remove the tags, but leave all the good stuff in the document.
This article was last modified on December 20, 2021
This article was first published on September 14, 2010
Commenting is easier and faster when you're logged in!
Recommended for you
Auto-Reflowing Images in a Grid
How can you make a grid of images reflow automatically around a page when you ad...
Can’t Delete Last Page of a Document
T.E.W. wrote: Do you have some magic formula that will allow me to delete...
Formatting Text With XML in InDesign
by Andrej Balaz The first time I learned about the XML workflow in InDesign was...


