10.2.1

Table Of Contents
rc.request = xmlimportreq;
// STEP 3(SPECIFIC TO REQUESTS): Create the JPEG renderer request
JPEGRenderRequest jpreq = new 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);
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
Modifier DTDDTD
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.
String
modify
Parameters
Note that you can also include an XML file as part of a multipart
HTTP request.
http://QXPServer8:8080/project1.qxp?modify=file:sample.xml
Example GET
URL
This XML deletes page 2 of a QuarkXPress layout:
<PROJECT>
<LAYOUT>
Example XML
<ID NAME="Layout 1" />
<SPREAD>
<ID UID="1" />
<PAGE OPERATION="DELETE">
<ID UID="2" />
</PAGE>
</SPREAD>
</LAYOUT>
</PROJECT>
90 | A GUIDE TO QUARKXPRESS SERVER 10.2.1
USING QUARKXPRESS SERVER