beautypg.com

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

Page 691

background image

Exporting XML

To the top

Note:

Include DTD Declaration

View XML Using

Export From Selected Element

Export Untagged Tables As CALS XML

Remap Break, Whitespace, And Special Characters

Export document content to XML
Optimized image export options
Save tags only as XML
Edit an exported XML file

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.

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:

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.

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

list.

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.

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.

Exports break, whitespace, and special characters as decimal character entities

rather than straight characters.

686

This manual is related to the following products: