2017

Table Of Contents
USING QUARKXPRESS SERVER
104 | A Guide to QuarkXPress Server 2017
Highlighting text in rendered output
To apply highlighting to text in rendered output, use XML like the following.
<RICHTEXT BACKGROUNDCOLOR=”Yellow”>This text is
highlighted.</RICHTEXT>
Highlighting is applied only to rendered output. It is not retained in the
QuarkXPress project.
Using XML modify
The modify parameter lets you modify a QuarkXPress project using XML.
This topic covers the
modify parameter when it is used without the construct
namespace. You can also use the modify parameter to specify an XML file to use
when constructing a project; for more information, see “Constructing a project“.
The
xml namespace takes two arguments: the name of the project to be modified,
and a
modify parameter with the string or the path of the XML file that describes
how to create the project:
http://QXPServer8:8080/project1.qxp?modify=
file:path to XML file on server http://QXPServer8 :8080/
project1.qxp?modify=XML string
You can also modify QuarkCopyDesk articles. To modify a QuarkCopyDesk article:
http://localhost:8080/copydesk/abc.qcd?modify=
file:XMLfile.xml
com.quark.qxpsm.QRequestContext(); if(!this.DocumentSettings1.
documentName.Text.Equals(“”)) rc.documentName =
this.DocumentSettings1.documentName.Text; // STEP 2 (SPECIFIC TO
REQUESTS): Create the XML Import request XMLImportRequest
xmlimportreq = new XMLImportRequest(); xmlimportreq.XMLDocument
= this.thexmldoc.Text; rc.request = xmlimportreq; // STEP 3(SPECIFIC TO
REQUESTS): Create the JPEG renderer request JPEGRenderRequest jpreq =
n
ew JPEGRenderRequest(); xmlimportreq.request = jpreq; // Create the
service and call it with QRequestContext object RequestService svc = new
RequestService(); com.quark.qxpsm.QContentData qc =
svc.processRequest(rc);
DTD Modifier DTD
Parameters modify String
Lets you specify an
XML file or string that
describes how to create
a project. The path can
be absolute or a relative
path in the document
pool. Use the file:
indicator to specify the
path.Note that you can
also include an XML
file as part of a
multipart HTTP
request.