beautypg.com

Load a dtd file, View a dtd file – Adobe InDesign CS5 User Manual

Page 599

background image

593

USING INDESIGN

XML

Last updated 11/16/2011

Working with DTD files in InDesign

A. DOCTYPE element from the DTD file (Structure pane) B. Locked tag from the DTD file (Tags panel)

More Help topics

About DTD files

” on page 569

Load a DTD file

When you load a DTD file, InDesign embeds the file in the document.

1 Do one of the following:

In the Structure pane, choose Load DTD from the Structure pane menu.

In the Tags panel, choose Load DTD from the panel menu.

2 Select a DTD file to import, and click Open.

To view tags defined in the DTD file, open the Tags panel by choosing Window

> Utilities > Tags.

View a DTD file

DTDs are written in ASCII text. They may contain embedded instructions and explanations that describe how to apply
tags and order elements correctly. In InDesign, you can only view a DTD that is loaded in a document.

DTD file opened for viewing

Do one of the following:

In the Structure pane menu, choose View

DTD.

Double-click the DOCTYPE element in the Structure pane.

To print a DTD file, copy code from the View DTD window and paste it in a text editor.

A B