8.5

Table Of Contents
When QuarkXPress Server is running on Windows, use a URL like the following:
http://localhost:8080/sample.qxp?modify=
file:C:\deleteBox.xml
Example GET
URL
When QuarkXPress Server is running on Mac OS, use a URL like the following:
http://localhost:8080/sample.qxp?modify=
file:MacHD:xml:deleteBox.xml
You can also supply a string that consists of valid XML commands. For example:
http://localhost:8080/sample.qxp?modify=
<PROJECT><LAYOUT><ID UID="Layout1"/><SPREAD>
<ID UID="1"/><BOX OPERATION="DELETE">
<ID NAME="HISTORY"/></BOX></SPREAD>
</LAYOUT></PROJECT>
You can use the xml namespace or Telegraph XTensions software to determine the ID or name of
the box you want to delete.
Notes
Grouping and ungrouping items
To group boxes using XML modify, use XML like the following:
<BOX BOXTYPE="CT_TEXT" COLOR="White">
<ID NAME="MainStoryText" UID="217"/>
</BOX>
<BOX BOXTYPE="CT_PICT">
<ID NAME="MainStoryPhoto" UID="218"/>
</BOX>
<GROUP>
<ID NAME="MainStoryGroup" UID="300" OPERATION="CREATE"/>
<BOXREF NAME="MainStoryText" UID="217"/>
<BOXREF NAME="MainStoryPhoto" UID="218"/>
</GROUP>
To add a box to an existing group, use XML like the following:
<GROUP>
<ID NAME="MainStoryGroup" UID="300"/>
<BOXREF NAME="MainStoryText" UID="217"/>
<BOXREF NAME="MainStoryPhoto" UID="218" OPERATION="CREATE"/>
</GROUP>
To remove a box from an existing group, use XML like the following:
<GROUP>
<ID NAME="MainStoryGroup" UID="300"/>
<BOXREF NAME="MainStoryHead" UID="216"/>
<BOXREF NAME="MainStoryText" UID="217"/>
<BOXREF NAME="MainStoryPhoto" UID="218" OPERATION="DELETE"/>
</GROUP>
To ungroup an existing group, use XML like the following:
<GROUP>
<ID NAME="MainStoryGroup" UID="300" OPERATION="DELETE"/>
</GROUP>
To proportionally scale all of the items in a group, add a <GEOMETRY> element that indicates
the new size of the group, like so:
<GROUP>
<ID NAME="MainStoryGroup" UID="300"/>
<GEOMETRY>
<POSITION>
<TOP>10.0</TOP>
<LEFT>10.0</LEFT>
<BOTTOM>50.0</BOTTOM>
QXP SERVER 8.5 WEB INTEGRATION GUIDE | 81
USING THE WEB INTERFACE