2020

Table Of Contents
USING QUARKXPRESS SERVER
records in the
XML.This parameter
works only with the
pdf, postscript, and
qxp render types. If
you use it with any
other render type, the
server returns only the
first page of the
paginated layout.If
you do not supply an
XML string or file (for
example:
http://localhost:8080/
pdf/Sample.qxp?pagin
ate), QuarkXPress
Server attempts to use
the XML file that was
associated with the
layout in
QuarkXPress.
Response The layout with the imported XML.
Alerts Invalid XML String
HTTP Error #500 This alert displays if you supply
an invalid XML string in the thexmldoc parameter.
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, the render type, the
project name, the type of response produced by the server, the size of the
response returned in bytes, and the client IP address. The following is a
sample of a transaction entry: 8/5/2005 18:11:54 — sample.qxp — Type:
image/jpeg — Size: 65982 — Client: 127.0.0.1If an alert displays, an error
message is written to the QuarkXPress Server error log file. For
example:8/9/2005 12:38:42 — Error — Error Code: 10396 — Invalid XML
String.
Example, GET URL
When QuarkXPress Server is running on Windows, use a URL like the
following:http://localhost:8080/Sample.qxp?thexmldoc=<?xml
version=”1.0”?> <BookReview><Book><Title>C:\Autumn.jpg</Title>
<Author> Brian Kernighan and Dennis Ritchie</Author>
</Book></BookReview> When QuarkXPress Server is running on macOS,
use a URL like the following:
http://localhost:8080/Sample.qxp?thexmldoc=<?xml version= “1.0”?>
<BookReview><Book><Title>/Volumes/MacHD/Pictures/abc.tiff</ Title>
<Author> Brian Kernighan and Dennis Ritchie</Author>
</Book></BookReview>Alternatively, you can specify a path to a file
containing the XML: http://localhost:8080/Sample.qxp?paginate=
file:MacHD:Sample.xml
Example, object
model
Request object names:
XMLImportRequestcom.quark.qxpsm.QRequestContext rc = new
A GUIDE TO QUARKXPRESS SERVER 2020 | 99