2020

Table Of Contents
USING QUARKXPRESS SERVER
Some minor QuarkXPress features are not available through the Modifier schema.
However, this schema represents the majority of all user-editable aspects of a
QuarkXPress project.
The deconstruct namespace/request no longer exists. If you try to use it in this
version of QuarkXPress Server, an error is returned.
Deconstructing a project
The xml namespace returns an XML representation of the target project. To use this
namespace, use a URL like the following:
http://QXPServer8:8080/xml/project1.qxp
When you use the xml namespace, QuarkXPress Server returns an XML file that
represents the deconstructed project. This XML file adheres to the Modifier schema
(see “Modifier schema (annotated)“).
An XML file that represents a deconstructed project does not contain all of the
information necessary to reconstruct the project. The definitions of the project’s
resources (such as style sheets, colors, and master page definitions) are stored in a
Job Jackets file. For example, you can apply a style sheet to a paragraph by
indicating the style sheet’s name, like so:
<PARAGRAPH PARASTYLE="BodyText">
<RICHTEXT>The sun has risen.</RICHTEXT>
</PARAGRAPH>
The above information is included in the deconstructed project’s XML file. The
definition of the “BodyText” style sheet, however, is stored in the Job Jackets file.
The URL of a deconstructed Job Jackets file is indicated by the PROJECT@JOBJACKET
attribute. If you need access to new colors, style sheets, master pages, or other
resources, add them to the Job Jackets file indicated by this URL.
Projects can also refer to resources defined with the QuarkXPress Server Document
Controls submenu (Server/QuarkXPress Server menu). QuarkXPress Server looks
for resources first in the Job Jackets file and then in the server-defined resources.
XML
Creates an XML file from a QuarkXPress project. The XML is returned in a fixed
format that adheres to the Modifier schema. You can use the returned XML to create
or modify a QuarkXPress document using the construct namespace or modify
parameter.
Namespace xml
schema Modifier schema
Parameters
box Returns XML only for the box with the given ID or name.
boxes
Returns XML only for the boxes with the IDs or names
supplied as a comma -separated list.
XSL
Specifies the path of an XSL file for transforming the
returned XML. Use the file: indicator to specify the path.
layout
Specifies the name or number of the layout containing the
box to render. The first layout is layout 1. Note that this
118 | A GUIDE TO QUARKXPRESS SERVER 2020