9.0

Profile includes a QPSEntityModel mapping component for the attached article. If the
automation profile produces a new project rather than a new revision of an existing project,
all attached articles are detached unless they have corresponding QPSEntityModel mapping
components.
XML to XHTML
The XML to XHTML workflow lets you transform content from QuarkXPress projects,
QuarkCopyDesk articles, and XML sources into XHTML format. You can then automatically
upload the resulting XHTML content into Drupal.
Transformation: Choose a transformation that accepts an XML input and has XHTML
as an output format, such as DITA Topic to XHTML to Drupal or QuarkCopyDesk to
XHTML to Drupal.
Image Folder Paths: Specify the path(s) where any images required by the workflow can
be found. Note that if you specify a path in the file system, you must use a valid UNC path
to which the Automation Services server has sufficient access rights to read files.
Image Format: Specify the format and (if applicable) quality level for pictures in the
workflow.
Save Location: Specify where you want the final files to be put. You can save the output
to the file system or submit it as a "Page" to a running instance of the Drupal Web content
management system.
If you save the output to the file system, you must use a valid UNC path to which the
Automation Services server has write access, and the path must include the name of the
output XHTML file. Pictures are stored in an "Images" folder at the same level as the output
XHTML file.
If you submit the output to Drupal, you must specify the node location of the file that
you are uploading. All nodes created by this workflow will be placed at that location, in
a node with the same name as the trigger asset. For example, if you specify the location
news/sports and the name of the trigger asset is "Tennis.xml," the content is checked in
at news/sports/Tennis. The title of each page is determined by the <title> tag in the
XHTML output.
If an automation profile creates a new version of a page that already exists in Drupal,
Drupal will create a new version of only the page itself; any pictures used in the page will
simply be replaced.
Drupal locations should not start with a slash (/).
If you have trouble submitting content to Drupal, a good place to start troubleshooting is
the "AutomationServices.Server.config" file (located at [application
folder]\AutomationServices_Data\Resources\Configuration). Locate the
"scriptRelativeUri" <entry> element and verify that the "Quark Automation Services
10 | AUTOMATION SERVICES 9.0 WORKFLOW REFERENCE
WORKFLOWS