8.5

Table Of Contents
</TEXT>
</BOX>
</SPREAD>
</LAYOUT>
</PROJECT>
When a Text placeholder spans multiple paragraphs, the PARAGRAPH and RICHTEXT
hierarchy is flattened. A new paragraph can be started using an empty PARAGRAPH element.
Text Node placeholders can represent a hierarchical structure of meta-tagging around text.
This can allow more complex meta-tagging of data placed into a QuarkXPress project.
Also, it allows some structure to be preserved within the QuarkXPress project format.
<PROJECT>
<LAYOUT>
<ID UID="1"/>
<SPREAD>
<ID UID="1"/>
<BOX>
<ID NAME="name"/>
<TEXT>
<STORY CLEAROLDTEXT="true">
<PARAGRAPH PARACHAR="HARDRETURN"/>
<TEXTNODEPH NAME="ARTICLE" OWNER="1347639377">
<TEXTPH NAME="HEADLINE">
<PARAGRAPH PARASTYLE="Headline"/>
<RICHTEXT>Text</RICHTEXT>
</TEXTPH>
<TEXTPH NAME="STANDFIRST">
<PARAGRAPH PARACHAR="HARDRETURN"
PARASTYLE="1st para"/>
<RICHTEXT>Text</RICHTEXT>
</TEXTPH>
<TEXTPH NAME="BODY">
<PARAGRAPH PARACHAR="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 &hardReturn; 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.
QXP SERVER 8.5 WEB INTEGRATION GUIDE | 113
USING THE WEB INTERFACE