Documentation Center

Load source of XHTML formatting for document

This API call grants access to the Load XHTML Formatted Document API call, but returns the resulted XHTML as an XML document. This allows a developer to view the XHTML output easily and evaluate the styles or results.

Example API call

/servlets3/wietmsd?id=1460447126210&book=s1000d_bike_41&collection=default&uniqid=1460447125149&target=tools&action=show_html&eid=4

Parameters

ParameterDescription
targettools
actionshow_html
eidThe element level ID on the <DOCUMENT/> envelope tag that wraps all documents in LiveContent, such as "4".
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.
book The name of the publication, such as s1000d_bike_41.
uniqidTo 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 time parameter that is based on the time at which the call is made.

Returns

On success
The XHTML page produced by Load XHTML Formatted Document, but returned as an XML resource.
On failure
Nothing.