Atomik Xport SE: Tutorials << >>

Chapter 4 Tutorial 2: Creating Rulesets

In this tutorial, you will learn about how to set up and manage rulesets, which are the tools that control Atomik Xport’s Automated Matching System (AMS). The Automated Matching System is the functionality within Atomik Xport that enables the extraction of content from a InDesign document to be automated. Understanding the principles contained in this chapter will enhance your ability to get the most out of Atomik Xport.

Definition: A Document Type Definition (DTD) is a specification that describes the structure of an XML document.

Definition: A Ruleset is a Document Type Definition (DTD) together with a set of mappings and preferences. The mappings define which styles used in the InDesign document should be mapped to the individual elements of the DTD. The ruleset preferences provide additional information relating to the extraction process such as the order in which Atomik Xport goes through the document.

A ruleset is a key component of the extraction process. A ruleset essentially creates structure for content based on the way it is presented in InDesign. This is a process that the human brain can perform almost without thinking. However a computer does not have this inherent ability. For example, when you see a page of a newspaper, you know a headline is a headline because it is larger and bolder than the bodytext of a story. Atomik Xport uses rules like these to associate specific styles (in InDesign) with the type of information those styles represent. In other words, Rulesets infer structure from style.

Creating structure from style is a key principle behind Atomik Xport and essential because without it, content held in InDesign documents remains essentially unstructured. Creating structure adds significant value to content, because you know what each piece of content actually is (e.g. a headline) rather than only what each piece of content says or looks like.

The structure of the output XML is defined by the DTD used in the ruleset. Therefore, creating a DTD is the first and possibly most important step in preparing to extract content from InDesign. Once you have a DTD, you can create a ruleset within Atomik Xport.

The key stages in this tutorial are:

  1. Loading a DTD into Atomik Xport
  2. Creating a Ruleset in Atomik Xport
  3. Creating Rules within Rulesets

Objective

The objective of this tutorial is to provide an understanding of how to create rulesets that are used for extracting XML in Atomik Xport.