8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
the request.
The XML
document is not
valid or well
formed.
HTTP Error #500
This alert is displayed when XML tags are not correctly
formed.
What to do: Provide correct XML and resubmit the request.
The XML
document contains
an invalid tag value.
HTTP Error #500
This alert is displayed when you enter an incorrect value for a
tag. For example, you enter a string value for a tag that
accepts a numeric value.
What to do: Enter a valid value in all tags of XML and
resubmit the request.
Logs
If the document 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/construct/table.qxp - Type: image/jpeg - Size:
31715 - 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 the error log entry:
8/10/2005 10:39:07 - Error - Error Code: 10339 - The specified file failed to
load in the picture box.
Example, Object
Model
Request Object Names:
XMLRequest
ConstructRequest
ConstructFileRequest
ConstructStreamRequest
Steps to construct a new QuarkXPress project by editing an existing document
a. Deconstruct a QuarkXPress project using the following code snippet:
XMLRequest dcnstrq = new XMLRequest();
rc.request = dcnstrq;
b. Alter the project by manipulating the XML.
c. Pass the modified XML document to
ConstructStreamRequest to create a new QuarkXPress project, using the
following code snippet:
ConstructStreamRequest cnstrq = new ConstructStreamRequest();
cnstrq.modify = Buffer;
rc.request = cnstrq;
QuarkXPressRenderRequest qxprq = new QuarkXPressRenderRequest();
cnstrq.request = qxprq;
Where Buffer contains the Byte[] for the modified XML document.
Alternate steps to construct a new QuarkXPress project from an existing
document
Page 153