Documentation Center

html_original

Returns a resource as unfiltered html.

Description

This function locates the specified (html) resource and returns it, unfiltered, in html form.

Parameters

action
html_original
docid
The document id of requested resource.
scope
if query provided, scope of query to run against resource.
area
The area of the requested resource e.g. 'live', 'holding'.
query
if provided, search query to run against resource.
resource
The name of the requested resource.
filename
filename of requested resource.
type
type of resource e.g. 'doc', 'toc', 'doctoc'.
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=html_original&docid=<value>&scope=<value>&area=<value>&query=<value>&resource=<value>&filename=<value>&type=<value>&lang=<value>&pub=<value>

Successful Result

Unfiltered html result, or <lc:failedref> if resource does not exist or is not html.

Failed Result

404 error if  language version is not visible.

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

Permission exception if  resource is in 'holding' area and user does not have 'Manage apps' permission.