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.

Bookmark
Please login to bookmark Close

This article was last modified on December 20, 2021

Comments (13)

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading comments...