2020

Table Of Contents
USING QUARKXPRESS SERVER
Deleting boxes
To delete a box, use the following parameters in the Modifier schema:
BOX
ID
The following XML shows how these parameters work.
<PROJECT>
<LAYOUT>
<ID UID="Layout 1"/>
<SPREAD>
<ID UID="1"/>
<BOX OPERATION="DELETE">
<ID NAME="SERVICES"/>
</BOX>
</SPREAD>
</LAYOUT>
</PROJECT>
“CT_TEXT”; box.operation = “CREATE”; spread.box = new Box[]{box}; Use the
following object hierarchy:ModifierRequest < Project < Layout < Spread < Box <
Geometry
Response A preview of the QuarkXPress project with the box deleted.
Alerts
File not found.
HTTP Error #404 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.
Bad filename/
pathname.
HTTP Error #404 QuarkXPress Server Error #–37
This alert displays if you specify an invalid file
name or path.
The XML document
is not valid or well
formed.
HTTP Error #500 This alert displays if the XML you
supply is not well-formed or does not adhere to the
Modifier schema.
The XML document
contains an invalid
tag value.
HTTP Error #500 This alert displays if you supply
an invalid value in the XML.
Logs
If the request succeeds, a transaction success message is written to the
QuarkXPress Server transaction log file. For example: 8/3/2005 11:27:42 —
jpeg/sample.qxp — Type: image/jpeg — Size: 31715 — Client: 127.0.0.1If
an alert displays, an error message is written to the QuarkXPress Server
error log file. For example:
Example GET URL
When QuarkXPress Server is running on Windows, use a URL like the
following:http://localhost:8080/sample.qxp?modify=
file:C:\deleteBox.xml When QuarkXPress Server is running on macOS, use
a URL like the following:http://localhost:8080/sample.qxp?modify=
file:MacHD:xml:deleteBox.xml You can also supply a string that consists of
valid XML commands. For example:
http://localhost:8080/sample.qxp?modify= <PROJECT><LAYOUT><ID
UID=”Layout1”/><SPREAD> <ID UID=”1”/><BOX
A GUIDE TO QUARKXPRESS SERVER 2020 | 107