8.0

Table Of Contents
paginate
Merges XML content into a template that you have set up in QuarkXPress using XML Import
XTensions software.
Namespace
paginate
Parameters
paginate
XML
Accepts well-formed XML as input and
applies those XML values to the
rendered project. Creates pages based
on the number of records in the XML.
Response
Preview of the merged QuarkXPress project.
Alerts
Invalid XML String
HTTP Error #500
This alert is displayed when an invalid XML string is passed
as a value to the paginate parameter.
What to do: Enter a correct XML string with the paginate
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.1
If an alert is displayed, an error message is written to the QuarkXPress Server
error log. The following is a sample of an error log entry:
8/9/2005 12:38:42 - Error - Error Code: 10396 - Invalid XML String.
Example GET
URL
http://localhost:8080/Sample.qxp?paginate=<?xml version="1.0"?>
<BookReview><Book><Title>C:\Autumn.jpg</Title><Author> Brian Kernighan
and Dennis Ritchie</Author></Book></BookReview>
On MAC OS
: The URL format is:
http://localhost:8080/Sample.qxp?paginate=<?xml version="1.0"?>
<BookReview><Book><Title>/Volumes/MacHD/Pictures/abc.tiff</Title><Autho
r> 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
Notes
paginate
works with the following render types: pdf, postscript, qxp, and ppml.
If you use paginate
with any other render type, the server returns only the first page of the
paginated document.
If you don't provide any XML, the default XML document associated with
Page 96