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 application.yml file. This XSL style is in XML format.

Example API call

/lcapi?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.

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.