Atomik Xport SE: Tutorials > Chapter 3 Tutorial 1: Basic Functions << >>

3.2 Using the XML Preview

Definition: The XML Preview palette displays content in XML form, ready to be output to an XML file.

The XML Preview offers several benefits before extraction; in particular it enables you to view XML content within Atomik Xport and add content from multiple QuarkXPress documents into a single XML document.

  1. 1 Select ‘Export XML…’ from the Atomik Xport menu

The empty XML Preview palette should now be displayed on screen as below.

    Newly created empty Preview

    1. 2 Make sure that ‘Tutorial1.rls’ is displayed in the drop down menu against the ‘Current Ruleset’ label as shown below:

    We’ll explain what a ruleset is in Tutorial 2 and how you can create your own rulesets. For now just continue with the instructions using the ruleset we have already created for you.

    Next you will see the powerful automation of Atomik Xport as, with a single mouse-click, Atomik Xport will extract the current QuarkXPress layout’s content into your XML Preview palette.

    1. 3 From the Atomik Xport menu, click on ‘Add Current Layout’

    Atomik Xport will now extract the contents of the QuarkXPress layout into the XML Preview palette according to the ‘Tutorial1.rls’ ruleset. When the extraction is complete, the root element will appear in the XML Preview.

    Notice that you were not required to manually drag and drop each article. Atomik Xport extracted the entire layout in one go. This provides maximum efficiency and automation.

    1. 4 Click on the triangular icon to the left of the ‘Magazine’ element in the ‘XML’ panel within the XML Preview.

    More elements of the XML that has been created by Atomik Xport will appear. The preview is structured hierarchically according to the DTD (Document Type Definition). DTDs are covered in more detail later in this User Manual.

    1. 5 Click on the triangular icons next to some of the other elements to display their child elements, together with the first few words of text contained in that element (see below).

    Note: holding down the ‘Alt’ key while clicking an element’s triangular icon will expand (or collapse) its entire hierarchy of child elements.

    Atomik Xport XML Preview with XML tree expanded

    The elements in the XML panel will correspond to the chapters in the ‘Tutorial1’ QuarkXPress project. Also, the ‘child’ elements will correspond to the paragraphs and images that make up each chapter.

    You have now added content to the XML Preview palette using Atomik Xport. Multiple projects and layouts can be added to a single preview, using the same Ruleset by repeating the above steps.