Operation Manual
327
XML
Last updated 6/15/2014
DTD file opened for viewing in InCopy
You may find that a DTD file created by a group or industry similar to yours includes tags and structures that meet
your needs. For a current list of registered DTDs, visit www.xml.com/pub/rg/DTD_Repositories (English only).
XML rule sets
XML rule sets are sets of instructions written in a scripting language (such as JavaScript or AppleScript) that evaluate
XML data and take certain actions if that data meets certain conditions. Each rule consists of at least one condition and
at least one action. A rule evaluates the XML data against the conditions, and if a condition is met, then it takes the
appropriate action. For example, an XML rule can specify that whenever the Paragraph element appears under the
Subhead element (a condition), a specific style (an action) is applied; or that whenever the Product element (a
condition) appears, a new frame is created and a product image is imported (actions). XML rules are a means of
dynamically creating and formatting layouts based on XML.
For information on XML rule sets and other XML scripting resources, see www.adobe.com/go/learn_id_XMLscript.
Preparing XML files for K4 or InCopy workflows
To prepare files with XML tagging for use within the K4 or InDesign/InCopy workflow environments, you may need
to adjust how you prepare the structure and import XML into InDesign files.
There are two methods for importing XML into InDesign: merge and append. Merge can replace the existing structure,
whereas append adds to any existing structure. In both cases, it is important that the root element is not associated with
a text frame. Either use the default element named "Root" or rename this element based on your current workflow or
requirement as needed, again being sure that it is not associated with a text frame.
For more information on using XML in K4 or InCopy workflows, contact your system administrator.
More Help topics
Structure pane overview
Place (import) text
Structure pane overview
Use DTD files to validate XML