2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 105
Modifying box properties and content
To modify box properties and content, use the following parameters in the Modifier
DTD:
BOX
ID
TEXT
PICTURE
GEOMETRY
CONTENT
SHADOW
FRAME
PLACEHOLDER
METADATA
The following XML shows how some of these parameters work.
<?xml version=”1.0” encoding=”UTF-8”?>
<PROJECT>
<LAYOUT>
<ID NAME=”Layout 1”/>
<SPREAD>
<ID UID=”1”/>
<BOX BOXTYPE=”CT_TEXT”>
<ID NAME=”SERVICES”/>
<GEOMETRY>
<MOVEUP>50</MOVEUP>
<MOVELEFT>30</MOVELEFT>
<ALLOWBOXONTOPASTEBOARD>true</ALLOWBOXONTOPASTEBOARD>
</GEOMETRY>
<CONTENT CONVERTQUOTES=”true”>
HD:QuarkXPress:DocPool:Services.txt</CONTENT>
</BOX>
<BOX BOXTYPE=”CT_TEXT”>
<ID NAME=”FAMILY”/>
<GEOMETRY>
<MOVERIGHT>20</MOVERIGHT>
Example GET URL http://QXPServer8:8080/project1.qxp?modify=file:sample.xml
E
xample XML
This XML deletes page 2 of a QuarkXPress layout: <PROJECT>
<LAYOUT> <ID NAME=”Layout 1” /> <SPREAD> <ID UID=”1” />
<PAGE OPERATION=”DELETE”> <ID UID=”2” /> </PAGE>
</SPREAD> </LAYOUT> </PROJECT>
Response The updated QuarkXPress project.
Logs
If the request succeeds, a transaction success message is written to the
Q
uarkXPress 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 is displayed, an error message is written to the QuarkXPress Server
error log. The following is a sample of the error log entry:8/10/2005
10:39:07 — Error — Error Code: 10339 — The specified file failed to load
in the picture box.