2017

Table Of Contents
USING QUARKXPRESS SERVER
166 | A Guide to QuarkXPress Server 2017
You can use an Anchor hyperlink without creating it at the <PROJECT> level, but
this is not the preferred method.
Page hyperlinks
To make sure a Page hyperlink works correctly, add something like this to the
<LAYOUT> element:
<HYPERLINK HLTYPE=”PAGE” NAME=”Page 2” TARGET=”2” />
To link to this Page hyperlink, use something like this:
<RICHTEXT HLTYPE=”PAGE” HYPERLINKREF=”Page 2” >Page2</RICHTEXT>
You can use a Page hyperlink without creating it at the <PROJECT> level, but this is
not the preferred method.
Using the Streaming Document Provider
The Streaming Document Provider feature allows all of the assets required for a
transaction to be provided as part of a multi-part HTTP request. Assets that can be
streamed include:
QuarkXPress templates.
Picture files used in the template.
Modifier XML.
Picture and text files used in the Modifier XML.
Assets used by digital publishing enrichments.
The Streaming Document Provider feature also supports
keepdocopen requests.
QuarkXPress Server searches for assets used in a call in the following order:
In the HTTP request.
1.
At the supplied file path (if specified).2.
In the document pool.3.
If QuarkXPress Server does not find the required assets at any of these locations:
If the image is being changed by the request, a “File not found” error occurs.
If the image is not being changed by the request, it renders at preview
resolution.
To use this feature, include a part in the HTTP request that has the same name as
the asset to be streamed. For example:
<html>
<body>
<form enctype=”multipart/form-data”
action=”http://localhost:8082/pdf/pic.qxp” method=”post”>
<input type=”file” name=”picture.jpg”/><br/>
<input type=”file” name=”pic.qxp”/><br/>
<input type=”hidden” name=”modify”
value=”<PROJECT><LAYOUT>
<ID UID=111/><BOX><ID
NAME=’picbox’/><CONTENT>picture.jpg
</CONTENT></BOX></LAYOUT></ PROJECT>”/>
<input type=”submit”/>