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
Stop Hyphenating Across Columns and Page Breaks
Luke wrote: I wondered if there was any way of stopping InDesign from hyphenatin...
Quick GREP To Superscript Ordinals
Need to format all your ordinals (such as "1st" and "2nd") properly? This easy G...
Multi-Level Automatic Numbering in InDesign
Making multiple levels (like 1A, 1B, and so on) in a list seems confusing at fir...


