8.0

Table Of Contents
About XML modify
Modifies a QuarkXPress project using XML. The modify parameter has an associated DTD. The call
structure required by the Modifier DTD
is very similar to the call structure required in previous versions of QuarkXPress Server. Only minor
modifications are necessary to upgrade solutions written for previous versions to work with this version.
Note that one major change to this DTD is that it's important not to specify units when providing
measurement values.
Note: This topic covers the modify parameter when it is used without the construct namespace. You can
also use the modify parameter to specify an XML file to use when constructing a project; for more
information, see About XML deconstruct and construct
.
DTD
Modifier DTD
Parameters
modify
string
Specifies the XML file or string that
describes how to create the project. The
XML file is specified by the file:
indicator and supports an absolute path
or a relative path to the document pool.
Note: The XML file must adhere to the
Modifier DTD and be present in the
specified location.
Example GET
URL
http://QXPServer8:8080/project1.qxp?modify=file:sample.xml
Example 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
Alerts
Logs
If the project is successfully rendered, a transaction success message is written to
the QuarkXPress Server Transaction Log file. The transaction entry consists of the
date and time of the request, render type, project name, type of response
produced by the server, size of the response returned in bytes, and client IP
address.
The following is a sample of a transaction entry:
8/3/2005 11:27:42 - jpeg/sample.qxp - Type: image/jpeg - Size: 31715 -
Client: 127.0.0.1
Page 114