About the Standard UI XSL and Tag Library

To ease the development of XSL and HTML templates, Content Delivery includes a standard tag library (<lcui:*>). These tags and templates make repetitive tasks easy (for example, outputting a localized string) and are always available when transforming with XSL or rendering HTML templates.

Located in xsl/ui/ui_helper.xsl, the standard tag library provides a set of named templates and templates to match a special namespace used by Content Delivery HTML templates. The namespace is lcui and is used in tags such as <lcui:string/> or by calling a template <xsl:call-template name="lcui:string"/>.

The tab library provides special tags and templates for operations such as including localized strings, image tags, localized images, CSS references, and JavaScript references or code snippets. When writing HTML templates, you can insert tags from the namespace, which are automatically picked up and transformed by the standard HTML template renderer (for example, <lcui:img/> dynamically creates an image tag). If you are using an XSL to render XML within a skin, you can use a matching set of named templates to achieve the same effect (<xsl:call-template name="lcui:img"/>).

The topics in this section describe the tag library and the attributes or parameters you can provide to achieve different results.