Documentation Center

toc_html

Renders a TOC (ditamap) in HTML.

Description

The TOC (ditamap) of the requested publication language version is rendered in HTML format.

Parameters

action
toc_html
uuid
Identification of TOC chunk for access to subset of TOC.
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=toc_html&uuid=<value>&lang=<value>&pub=<value>

Successful Result

In default case (no uuid), the TOC (toc.xml) is rendered (against toc.xsl) and returned as HTML.

Failed Result

404 error if language version is not visible or if (toc.xml) is not available.

Permission exception if  user does not have 'Use application' permission.