beautypg.com

Delete a dtd file, Validate xml structure, Exporting xml – Adobe InDesign CS5 User Manual

Page 600: Export document content to xml

background image

594

USING INDESIGN

XML

Last updated 11/16/2011

Delete a DTD file

Choose Delete DTD from the Structure pane menu.

InDesign deletes the copy of the DTD file stored in the InDesign document, not the original DTD file. Tags that were
imported with the DTD file remain in the Tags panel but are unlocked.

Validate XML structure

When you validate your document, InDesign alerts you if the XML deviates from rules established by the DTD file. It
suggests ways to make the XML meet DTD file requirements. You can fix errors one at a time or view all errors in a
separate window.

Structure pane with Suggestions pane

A. Loaded DTD B. Error or invalidating condition C. Description of error with suggested fix D. Error count E. Validate button F. View all
errors in a separate window

1 Choose View

> Structure > Show Structure.

2 In the Structure pane, click the Validate button

.

To change the root element from which InDesign validates, choose DTD Options in the Structure pane menu.

3 To fix errors displayed in the Suggestion pane, either click a suggested fix to try it, or edit the XML structure and

tags directly using the Structure pane and the Tags panel.

4 To view other errors, do one of the following:

Click the Left arrow

or Right arrow

.

Click the Error Window button

to view all errors in a separate window.

Choose View List Of Errors on the Structure pane menu.

Note: InDesign stops validating after detecting 250 errors. A plus sign in the Error Count box appears when this limit is
reached.

Exporting XML

Export document content to XML

Before you export content from an InDesign document to XML, you must have done the following:

Created or loaded element tags.

A

B

C

D

E F