Documentation Center

Load XHTML-formatted document

Retrieves an XML document styled as an XHTML page. This is the usual way of interacting with documents within LiveContent. The XSL styles that create this XHTML are determined by the publication, document type, and DTD or schema of the document.

Example API call

/servlets3/wietmsd?id=1460447126210&book=s1000d_bike_41&collection=default&time=1460447125149&target=text&action=text&eid=4

Parameters

ParameterDescription
targettext
actiontext
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.
timeTo 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
Formatted, XHTML version of the document after passing through XSL styles. The XHTML that is returned is filtered and prepared to be loaded into a tabbed interface.
On failure
Nothing.