beautypg.com

Tagging content for xml, Create and load xml tags – Adobe InDesign CS3 User Manual

Page 531

background image

INDESIGN CS3

User Guide

524

Delete Elements, Frames, and Content That Do Not Match Imported XML

Removes elements from the Structure

pane and the layout of the document if they don’t match any elements in the imported XML file. Use this option to
filter data from the document. For example, when importing names and addresses, you might have placeholder text
for an element containing the company name. If one of the names doesn’t include the company element, InDesign
deletes the element containing the placeholder text.

Import CALS Tables As InDesign Tables

Imports any CALS tables in the XML file as InDesign tables.

Tagging content for XML

Create and load XML tags

Before you tag page items, create (or load) tags to identify each content type or item in your document. You can create
tags from scratch or load them from another source, such as an InDesign document, InCopy document, or DTD file.
Use any of the following methods to create or load XML tags for your document:

Create a tag with the New Tag command.

Load tags from an XML file or another document.

Import a DTD file.

Import tags (and content) using the Import XML command.

The Tags panel with a list of available tags

See also

“About XML” on page 510

“About DTD files” on page 512

Create an XML tag

1

Choose Window > Tags to open the Tags panel.

2

Do one of the following:

Choose New Tag from the Tags panel menu.

Click the New Tag button

on the Tags panel.

3

Type a name for the tag. The name must conform to XML standards. If you include a space or an illegal character

in the tag name, an alert message appears.