Documentation Center

Load XSL-FO before PDF render

This API call returns a URL at which XSL-FO XML instance can be accessed before it is passed to the Apache FOP rendering process that turns XSL-FO into a PDF instance. It is an extremely useful function for XSL-FO style developers.

Example API call

/servlets3/wietmsd?target=tools&action=show_xslfo&doctype=descript&eid=1&collection=default&book=PDMUNITTEST

Parameters

ParameterDescription
targettools
actionshow_xslfo
eidThe element level ID on the <DOCUMENT/> envelope tag that wraps all documents in LiveContent, such as "5".
doctypeThe document type of the document that is being styled.
idA session ID that is valid for this collection and publication combination.
collectionThe name of the collection that the publication is registered in, such as default.
bookThe name of the publication, such as PDMUNITTEST.

Returns

On success
A XML document is returned that contains a link to the temporary resource that was created on the server to store the XSL-FO XML content.
<RESULT>
  <FILENAME>/servlets3/wietmsd/working/temp/tx_1_1233168631444.xml</FILENAME>
</RESULT>