Documentation Center

SDL XPPP plugin publishing script setup

Overview of the changes required to be made in the Content Manager publishing chain

Publish.wsf changes

The delivered publishing (Publish.wsf) chain must include the following include files:
  • ISHPublXPPUtil.vbs: This file contains the process to be executed when generating a PDF file through SDL XPP.
  • ISHPublXPPUtilLibrary.vbs: This file contains the WebService call to the SDL XPP server.

After the inclusions of the include files, the process must be extended to call the following function, PublishThroughSDLXPP whenever the SDL XPP integration (transtype ishxpp) is called.

Publising flow

Below the logical flow when publishing content through SDL XPP.
  1. Create a workset directory.
  2. Resolve File Names.
  3. Merge XML content using the DITA-OT with transtype ishxpp.
  4. RunSDLXPPTransform: This procedure calls in the order as specified below, the respective SDL XPP webservices to process the current XML and graphical content into PDF.
    1. Create the Job location in SDL XPP
    2. Copy style job ticket to the Job location
    3. Create the Division location in SDL XPP to save the content (Division is named 1-content).
    4. Update the Job Ticket to include the correct Image chasing values for the publishing job.
    5. Update the Division Ticket to include the correct Alt. Style for the publishing job.
    6. UploadXMLFiles to load the merged xml file into the Division (1-content) location .
    7. ConvertXMLFile to convert and prepare the xml file for use in SDL XPP using the xychange command.
    8. UploadGraphicalFiles to upload the graphic files to the Division (1-content) location.
    9. ConvertToXSF to convert the content into the internal SDL XPP format.
    10. RunCompose to compose the PDF in the internal SDL XPP format.
    11. SetDocumentAssembly to prepare and configure the correct Document Assembly Ticket.
    12. If required, run CITI for the requested options (TOC, Index, Front matter)
    13. Print the PDF file. If the printmarks option is switched on, then the print settings are passed on as well.
    14. Retrieve the generated PDF file from SDL XPP to Content Manager.
    15. Clean-up the Job location in SDL XPP.
  5. Rename the final PDF file.
  6. Load the final PDF file into Content Manager.
  7. Clean up the temporary files in the DataExports folder.