8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
About XML
deconstruct/reconstruct
Versions of QuarkXPress Server prior to 7.2 allowed you to retrieve a human-readable XML
representation of a QuarkXPress project from the server using the
deconstruct namespace, but these versions did not provide an easy way to turn that XML back into a
QuarkXPress project.
QuarkXPress Server includes the xml namespace (which deconstructs a project according to the
Modifier DTD) and the
construct namespace (which lets the server turn an XML representation of a QuarkXPress project back
into a QuarkXPress project). This means you can deconstruct a project into an XML representation,
change the XML in accordance with the Modifier DTD, and then have the server generate an updated
version of the QuarkXPress project. You can even create new QuarkXPress projects from scratch using
XML.
In addition, you can use the new
construct namespace to:
Create a page based on a master page
Create a project from XML, using a Job Jackets file as the basis for the project
Modify text font and style, including OpenType styles
Apply style sheets and local formatting to text
Create and populate tables
Import pictures into picture boxes and specify picture attributes
The DTD used for XML construction and deconstruction is completely Unicode-compliant, making it
ideal for use in international publishing. Furthermore, the use of this DTD ensures that the schema of
XML output created by Constructor does not change when server preferences change.
Note: Some minor QuarkXPress features are not available through the Modifier DTD. However, this
DTD represents the majority of all user-editable aspects of a QuarkXPress project.
Note: The
deconstruct namespace/request no longer exists. If you try to use it in QuarkXPress Server 8.0, an error
will be returned.
The xml and construct namespaces
The
xml namespace returns an XML representation of the target project. To use this namespace, use a URL
like the following:
http://QXPServer8:8080/xml/project1.qxp
Page 144