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&date=135132123123&target=resource&action=style&file_name=s1000d/descript.xsl
Parameters
| Parameter | Description |
|---|---|
target | resource |
action | style |
file_name | The full name of the XSL style, such as figures.xsl or s1000d/common.xsl. |
id | A session ID that was retrieved with or without a specific collection and publication combination |
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 time parameter that is based on the time at which the call is made. |
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.