9.5

Table Of Contents
Every project created with the construct namespace must be based on a Job Ticket in a
Job Jackets file. Using construct to create a project is roughly equivalent to using the
File > New > Project from Ticket command in QuarkXPress.
When you create a project using the construct namespace, you must supply the path to
the Job Jackets file that will supply the project's resources. To do so, indicate the URL of
the Job Jackets file in the PROJECT@JOBJACKET attribute and the name of the Job Ticket
in the PROJECT@JOBTICKET attribute. (<PROJECT> is the root element of the Modifier
DTD. For more information, see "Modifier schema (annotated).")
For example, to create a project from a Job Ticket named "Tall US Brochure Ticket" in a
Job Jackets file named "BrochureJJ.xml," use XML like the following:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<PROJECT JOBJACKET="MacintoshHD:brochures:BrochureJJ.xml"
JOBTICKET="Tall US Brochure Ticket"
PROJECTNAME="project1.qxp">
Construct
The construct namespace lets you create a QuarkXPress project using XML.
construct
Namespace
Modifier DTDDTD
The string or the path of the XML file that describes how to
create the project. Use the file: indicator to specify the
path.
String
modify
Parameters
Indicates the QuarkXPress version format to use. For example:
http://QXPServer8:8080/construct/
qxpdoc/project1.qxp?qxpdocver=8
8 | 9
qxpdocver
http://QXPServer8:8080/construct/
project1.qxp?modify=file:sample.xml
Example GET
URL
<?xml version="1.0" encoding="UTF-8"?>
<PROJECT JOBJACKET="C:\XML\New Job Jacket 3.xml"
Example XML
JOBTICKET="Default Job Ticket"
PROJECTNAME="project1.qxp">
<LAYOUT>
<ID NAME="Layout 1"/>
<SPREAD>
<ID UID="1"/>
<PAGE>
<ID UID="1"/>
</PAGE>
</SPREAD>
</LAYOUT>
</PROJECT>
A new QuarkXPress project.Response
HTTP Error #404File not found.Alerts
QuarkXPress Server Error #43
This alert displays if you specify an invalid XML file or request a document
that is not available to QuarkXPress Server. For example, this error can
116 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER