8.5

Table Of Contents
If you specify <FITPICTURETOBOX>, <FITBOXTOPICTURE>, and <FITPICTURETOBOXPRO> for a
picture, only the first of these elements will be applied.
Importing data
Imports text or image data into a project. You can use import any text or picture file format
supported by QuarkXPress, including XPress Tags files.
To import text or image data into a project, use the following parameters in the Modifier
DTD:
"BOX (Modifier DTD) "
"ID (Modifier DTD)"
"PICTURE (Modifier DTD)" (this is not a required element when importing data)
"TEXT (Modifier DTD)"
"STORY (Modifier DTD)"
"CONTENT (Modifier DTD)"
The following XML shows how some of these parameters work.
<PROJECT>
<ID NAME="Layout 1"/>
<SPREAD>
<ID UID="1"/>
<BOX BOXTYPE="CT_PICT">
<ID NAME="ABOUT"/>
<PICTURE/>
<CONTENT>C:\docs\file1.jpg</CONTENT>
</BOX>
<BOX BOXTYPE="CT_TEXT">
<ID NAME="PRODUCTS"/>
<CONTENT>file:C:\docs\file2.txt</CONTENT>
</BOX>
<BOX BOXTYPE="CT_TEXT">
<ID NAME="SERVICES"/>
<TEXT>
<STORY FILE="file:C:\docs\file3.doc" CONVERTQUOTES="true"
INCLUDESTYLESHEETS="true"/>
</TEXT>
</BOX>
</SPREAD>
</LAYOUT>
</PROJECT>
A preview of a QuarkXPress project with a value in the data import XML tags applied to the text
boxes.
Response
HTTP Error #404
File not found.Alerts
QuarkXPress Server Error #43
This alert displays if you specify an invalid XML file or request a document that
is not in the document pool.
HTTP Error #500The XML
document is not
This alert displays if the XML you supply is not well-formed or does not adhere
to the Modifier DTD.
valid or well
formed.
90 | QXP SERVER 8.5 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE