Atomik Xport SE: Reference > Chapter 10 Extracting Content Manually << >>

10.2 Manual extraction ignoring the rules

You can also use Atomik Xport to manually extract portions of un-styled text, add elements from unrelated projects, or perform some low-level editing by creating text elements specifically for extraction purposes rather than print.

All of the above are achieved by manually adding content into the XML panel while in Content Selection Mode in QuarkXPress. In this case, Atomik Xport will ignore any rules defined in the ruleset for the XML Preview you are using, and therefore ignore all styling information for that content.

This is achieved as follows:

  1. 1 Launch QuarkXPress with Atomik Xport enabled
  2. 2 ‘Open’ the project from which you wish to extract content as XML
  3. 3 Choose ‘Export XML’ from the Atomik Xport menu to open the Preview Palette.
  4. Click ‘Add Current Layout’ to create your XML preview.
  5. 5 Click on the triangle to the left of the root element of the DTD in the XML panel to reveal the structure of the XML layout contained in the XML Preview

XML structure shown by the tree view in the XML Preview

To add content to any element if they are visible or to the root element, perform the following actions:

  1. 6 Make sure that you are in content selection mode in QuarkXPress by clicking on the Content Tool on the tool palette

  1. 7 Hold down the shift and control keys simultaneously, while continuing to hold down these keys, drag the required text onto the corresponding element in the XML panel or onto the root element and release the mouse

Text will only be added to elements as the DTD allows. For example you cannot add text where no text is allowed by the DTD. Atomik Xport thereby ensures that the extracted XML conforms to the DTD structure.

Manual content extraction ignoring the ruleset

When you are adding content in this way, without reference to the rules in the ruleset, extreme caution and care should be taken as you are responsible for matching the correct content to the correct DTD element in the XML and according to the sequence specified by the DTD. For example if you were to drag an author’s name onto the headline element, Atomik Xport will extract the author’s name as the headline element as it has no way to distinguish author text from headline text. This is a powerful feature but one open to problems if not used carefully. We therefore recommend that you keep this type of manual extraction to a minimum in your workflow.

DTD element choices

As with manual extraction using the rules, if the DTD specifies that their is more than one possible XML element that is available for the content that is being added, Atomik Xport will automatically present you with a pop-up list of the options. Here you can specify what the content is that is being manually added. If the DTD specifies that there is only one element that can be created to hold the selected text, the content will just be added without requiring you to specific an element.