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
construct
The construct namespace lets you create a QuarkXPress project using XML.
Namespace
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.
Note: The XML file must adhere to the
Modifier DTD and be present in the
specified location.
qxpdocver
7 | 8
Returns a QuarkXPress document. For
example:
http://QXPServer8:8080/construct/qxpd
oc/project1.qxp?qxpdocver=7
Example GET
URL
http://QXPServer8:8080/construct/project1.qxp?modify=file:sample.xml
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<PROJECT JOBJACKET="C:\XML\New Job Jacket 3.xml"
JOBTICKET="Default Job Ticket"
PROJECTNAME="project1.qxp">
<LAYOUT>
<ID NAME="Layout 1"/>
<SPREAD>
<ID UID="1"/>
<PAGE>
<ID UID="1"/>
</PAGE>
</SPREAD>
</LAYOUT>
</PROJECT>
Response
The new QuarkXPress project
Alerts
File not found.
HTTP Error #404
QuarkXPress Server Error #-43
This alert is displayed when you give an incorrect XML file as
a parameter or when you request a document that does not
exist in the document pool.
What to do: Enter the correct name and path of the XML file
and ensure that the document given in the request exists in the
document pool.
Bad
filename/pathname.
HTTP Error #404
QuarkXPress Server Error #-37
This alert is displayed when an invalid file name is entered in
the request.
What to do: Enter the correct XML file name and resubmit
Page 152