doc_html
Renders a document in HTML.
Description
The requested resource (DITA topic) is processed against DITA Open Toolkit (XSLT) styles and rendered in HTML format.
Parameters
- action
- doc_html
- docid
- The document id of requested resource.
- scope
- The scope of the search that was used to find this document, if it was opened from a search result list.
- query
- The search query that was used to find this document, if opened from a search result list.
- resource
- The name of the requested resource.
- filename
- filename of requested resource.
- tid
- The unique ID of the search result list that was used to find this document. This is stored in the audit trail.
- lang
- A language version of a publication.
- pub
- A publication, which is a logical grouping of information (topics and multimedia) related to a specific subject, containing one or more language versions.
Example URL
http://<host>:<port>/<context>/web/content.xql?action=doc_html&docid=<value>&scope=<value>&query=<value>&resource=<value>&filename=<value>&tid=<value>&lang=<value>&pub=<value>
Successful Result
An HTML rendering of the requested resource (DITA topic).
Failed Result
404 error if language version is not visible or if it is not available.
Permission exception if user does not have 'Use application' permission.