Atomik Roundtrip 2.1: Working with Roundtrip > Chapter 18 Working with Structural Editing and Roundtrip Elements Palette << >>

18.2 Roundtrip Elements palette

As described previously, the Atomik Roundtrip Elements palette is very similar in appearance to the QuarkXPress Stylesheet palette except rather than being made up of a ‘Paragraph’ and a ‘Character’ section, it is split into two sections showing ‘parent’ elements in the top half and any ‘child’ elements belonging to the highlighted parent element in the bottom half of the palette. The Roundtrip Elements palette changes according to what element is selected on the page within the XML text chain in the frontmost QuarkXPress document.

To Map selected text to an XML Element:

As described in previous Tutorial sections, ‘Import’ your XML file into the Roundtrip XML palette and drag elements(s) to QuarkXPress page or alternatively flow into place holder(s).

Open the Roundtrip Elements palette from the Roundtrip menu.

Click through your XML text on the QuarkXPress page and you will notice that the top half of the Roundtrip Elements palette displays the current Element that the highlighted text is mapped to (it does this by using the pink markers which shown each element - to show these, go to QuarkXPress ‘View’ menu and select ‘Show Invisibles’).

If you highlight a word or a series or words (within the pink markers) that are mapped to an element that may contain child elements -according to the DTD the Roundtrip ruleset is using, these will be displayed and may be selected from the lower half of the Roundtrip Elements palette. Note; if necessary, the ‘Split Element’ button can be used to separate your selection into more than one element within the XML.

If you have selected a child element to map your XML text to in the Roundtrip Elements palette, you will notice that the appearance of the selected text will automatically change to however that element has been set up in your ruleset including any pre and post text additions. Your XML file can then be saved and updated to include any extra elements that you have mapped in this way.

To Remove an Element Mapping from XML:

If you would like to remove any mappings of your XML text to child elements on the QuarkXPress page and back to the XML file, these can also be removed with the Roundtrip Elements palette.

Open the Roundtrip Elements palette from the Roundtrip menu.

On the QuarkXPress page, click on your text where you would like to remove the mapping (between the pink markers) and in the bottom half of the Roundtrip Elements palette select ‘No Child Element’.

You will notice that although the text you have removed the mapping from will no longer be surrounded by pink markers, it’s printable appearance will remain the same and if necessary this can be changed by selecting the desired QuarkXPress stylesheet or local attribute as normal when styling a QuarkXPress document. Your XML file can then be saved and updated to remove any extra elements that you have unmapped.