Documentation Center

Load XSL style

Loads a XSL resource from the etc/styles directory. This style will be found at the file location defined by the app.docs_root configitem in the wietmsd.xml configuration. This XSL style is in XML format.

Example API call

/servlets3/wietmsd?id=1459258522338&target=resource&action=style&file_name=s1000d/descript.xsl

Parameters

ParameterDescription
targetresource
actionstyle
file_nameThe full name of the XSL style, such as figures.xsl or s1000d/common.xsl.
idA session ID that was retrieved with or without a specific collection and publication combination

Returns

On success
The XML content of the XSL style file. This can also load CSS style files that are stored in the etc/styles location.
On failure
A message indicating that the requested file was not found.