2016

Table Of Contents
must contain commands that show how you want QuarkXPress Server to modify the
project.
For more information, see "Modifier schema (annotated)."
Working with pages and spreads
The root element of a deconstructed QuarkXPress project is <PROJECT>. Within each
<PROJECT> element are one or more <LAYOUT> elements. Each layout contains one
or more <SPREAD> elements, and each <SPREAD> contains one or more <PAGE>
elements. Each layout, spread, and page has a unique name, indicated by its <ID>
element.
Each layout can have a unique name, indicated by its <ID> element's NAME attribute.
You can use a layout's name when referring to that layout in a non-construct call that
uses the MODIFY attribute. The ID@NAME attribute is ignored for <SPREAD> and <PAGE>
elements, but you can refer to them numerically with their <ID> element's UID
attribute, with "1" being the first, "2" being the second, and so forth.
With most element types, it is best to assign an ID@NAME value to an element and use
that to refer to the element, because ID@UID values are defined by QuarkXPress Server
and thus ignored for construct calls. <PAGE> and <SPREAD> are exceptions to this
rule.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<PROJECT JOBJACKET=" MacintoshHD:brochures:BrochureJJ.xml"
JOBTICKET="Tall US Brochure Ticket"
PROJECTNAME="project1.qxp">
<LAYOUT>
<ID NAME="Layout 1" />
<SPREAD>
<ID UID="1" />
<PAGE POSITION="RIGHTOFSPINE" MASTER="3">
<ID UID="2" />
</PAGE>
...
Each page has a POSITION attribute that indicates which side of the spine it is on. (In
single-sided layouts, every page is given a POSITION of RIGHTOFSPINE).
You can assign items to a page using the GEOMETRY element, which is a child of the
BOX and TABLE elements. For example:
<BOX BOXTYPE="CT_TEXT" COLOR="White">
<ID NAME="Title Box" />
<GEOMETRY LAYER="Default" PAGE="1" SHAPE="SH_RECT">
<POSITION>
<TOP>90</TOP>
<LEFT>95</LEFT>
<BOTTOM>190</BOTTOM>
<RIGHT>195</RIGHT>
</POSITION>
</GEOMETRY>
</BOX>
Master pages are stored in a deconstructed projects Job Jackets file. To create a page
from this master page, insert a MASTER attribute into the PAGE element and indicate
the number of the target master page. Master page numbering is as follows:
1 = blank single page
2 = blank facing-page
112 | A GUIDE TO QUARKXPRESS SERVER 2016
USING QUARKXPRESS SERVER