8.5

Table Of Contents
For external Composition Zones items, the PATH attribute indicates the location of the
project containing the associated composition layout. However, a copy of the layout is
also stored within the project as an additional <LAYOUT> element.
Composition Zones items must be created in QuarkXPress. <COMPOSITIONZONE> elements
are ignored by the construct namespace and the modify parameter.
<PROJECT>
<LAYOUT>
<ID UID="Layout 1"/>
<SPREAD>
<ID/>
<COMPOSITIONZONE BLENDSTYLE="SOLID" BOXTYPE="CT_USER" COLOR="none"
LAYOUTREF="Layout 2" PATH="/projects/ExternalZone1.qxp" TYPE="EXTERNAL">
<ID NAME="Box9" UID="9"/>
...
</COMPOSITIONZONE>
</SPREAD>
</LAYOUT>
<LAYOUT SHAREDSTATUS="ALLPROJECTS">
<ID NAME="Layout 2" UID="2"/>
<SPREAD>...</SPREAD>
</LAYOUT>
</PROJECT>
Using XSL transformation
You can use an XSLT file to transform the XML returned by the xml namespace into other
formats. You might find this feature useful if you want the xml namespace to return an
XML representation that uses a different schema or a subset of the returned data.
There are two ways to using this feature. The first way is to select Use Default XSLT and
specify the path to an XSLT file in the preferences for QuarkXPress Server
(Server/QuarkXPress Server > Preferences > Modifier pane). If you choose this approach,
the XSLT file is applied to all XML returned by the xml namespace.
The second way to use XSL is to use the XSL parameter in the request URL. If the XSL
parameter specifies the absolute path to an XSLT file on the server, QuarkXPress Server
uses that XSLT file to transform the response to that call. For example:
http://QXPServer8:8080/xml/project1.qxp?XSL=
path to XSLT file on server
To make returned XML use the Modifier DTD, uncheck Use default XSLT and do not use
the XSL parameter in your calls to the construct namespace.
QuarkXPress Server currently supports only XML output from XSL transformation.
Working with lists
The <LISTS> element allows you to construct and deconstruct QuarkXPress lists. Lists
allow a user to automatically create a table of contents (TOC) or list of figures. For more
information, see the Modifier DTD .
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<PROJECT JOBJACKET="Project2 Job Jacket"
JOBTICKET="Default Job Ticket 1:Project2"
PROJECTNAME="lis1.qxp" XMLVERSION="8.0">
<LAYOUT POINTSPERINCH="72">
<ID NAME="Layout 1"/>
<LAYER>
110 | QXP SERVER 8.5 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE