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?date=135132123123&target=tools&action=show_xslfo&doctype=descript&eid=1&collection=default&book=PDMUNITTEST
Parameters
| Parameter | Description |
|---|---|
target | tools |
action | show_xslfo |
eid | The element level ID on the <DOCUMENT/> envelope tag that wraps all documents in LiveContent, such as "5". |
doctype | The document type of the document that is being styled. |
id | A session ID that is valid for this collection and publication combination. |
collection | The name of the collection that the publication is registered in, such as default. |
book | The name of the publication, such as PDMUNITTEST. |
date | To prevent browser-side caching of data, especially with AJAX requests, it is important to make a URL unique. The most effective technique to accomplish this is to include a date parameter that is based on the time at which the call is made. |
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.