beautypg.com

Exporting xml, Export document content to xml – Adobe InDesign CS3 User Manual

Page 545

background image

INDESIGN CS3

User Guide

538

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.

Applied tags to items on the pages of your document.

Adjusted the hierarchy of tagged elements in the Structure pane, if needed.

You can export all or a portion of the XML content in your document. Only content that is tagged can be exported.

Important: If you are exporting a document that contains tables, you must tag the tables or InDesign will not export
them as part of the XML.

1

If you want to export only a portion of the document, select the element in the Structure pane where you want

exporting to begin.

2

Choose File > Export.

3

For Save As Type (Windows) or Format (Mac OS), choose XML.

4

Specify a name and location for the XML file, and then click Save.

5

In the General tab of the Export XML dialog box, choose any of the following:

Include DTD Declaration

Exports the reference to the DTD along with the XML file. This option is only available if

there is a DOCTYPE element in the Structure pane.

View XML Using

Opens the exported file in a browser, XML editing application, or text editor. Choose the browser

or application from list.

Export From Selected Element

Starts exporting from the element you selected in the Structure pane. This option is

only available if you selected an element before choosing File > Export.

Export Untagged Tables As CALS XML

Exports untagged tables in CALS XML format. To be exported, the table must

be in a tagged frame, and the table must not be tagged.

Remap Break, Whitespace, And Special Characters

Exports break, whitespace, and special characters as decimal

character entities rather than straight characters.