2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 153
<PARAGRAPH
PARACHAR=”HARDRETURN”
PARASTYLE=”1st para”/>
<
RICHTEXT>Text</RICHTEXT>
</TEXTPH>
<TEXTPH NAME=”BODY”>
<PARAGRAPH
P
ARACHAR=”HARDRETURN”
PARASTYLE=”Body”/>
<RICHTEXT>Text</RICHTEXT>
</TEXTPH>
<METADATA>
<VALUE
KEY=”ARTICLE_ID”>1145</VALUE>
<VALUE KEY=”ARTICLE_TYPE”>Press
Release
</VALUE>
<VALUE
KEY=”AUTHOR”>M.Gutherie</VALUE>
</METADATA>
</TEXTNODEPH>
</STORY>
</TEXT>
</BOX>
</SPREAD>
</LAYOUT>
</PROJECT>
To avoid hierarchy conflicts between the placeholder hierarchy and the paragraph
hierarchy, the paragraph structure is flattened, which means that PARAGRAPH and
RICHTEXT elements become siblings. In this case, the PARACHAR attribute is not
applied, and the Modifier XML should include the
entity to represent paragraph break characters.
The OWNER attribute of the TEXTPH and TEXTNODEPH elements refers to the ID of
the XTensions software that is responsible for the placeholder. The xml namespace
returns all placeholders from all XTensions software. The default value for
placeholders is “1347639377” (this is the XTension ID of PlaceholderSXT XT). If you
want to create placeholders for your own XTensions software, use that XTensions
software ID here.
Working with metadata
You can attach box-level metadata to a QuarkXPress project created from XML using
the Modifier DTD. For example, if you import a picture from a content management
system into a box, you can store the unique ID of that picture (and other
information, such as the last-modified date) with the box containing that picture.
When you deconstruct the project, you can read the metadata (for example, to track
the usage of licensed pictures).
You can attach metadata to picture boxes, text boxes, tables, lines, and text paths.
QuarkXPress Server metadata takes the form of key/value pairs. For more
information, see the Modifier DTD.
To create a new box with metadata, use XML like the following. In this example,
QuarkXPress Server creates a box named “box1” and asssociates
Asset, Date, and
Password key-value pairs with it.
<BOX OPERATION=”CREATE” BOXTYPE=”CT_TEXT”>
<ID NAME=”box1”/>