<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Common » Utility Template Reference</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference Documentation"><link rel="up" href="index.html" title="Part 2. Common Template Reference"><link rel="prev" href="template.set.refentry.metadata.html" title="set.refentry.metadata"><link rel="next" href="template.log.message.html" title="log.message"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Common » Utility Template Reference</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="template.set.refentry.metadata.html">Prev</a> </td><th width="60%" align="center">Part 2. Common Template Reference</th><td width="20%" align="right"> <a accesskey="n" href="template.log.message.html">Next</a></td></tr></table><hr></div><div class="reference"><div class="titlepage"><div><div><h1 class="title"><a name="utility"></a>Common » Utility Template Reference</h1></div><div><p class="releaseinfo"> $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $ </p></div></div><hr></div> <div class="partintro"><div><div><div><h1 class="title"><a name="partintro"></a>Introduction</h1></div></div></div> <p>This is technical reference documentation for the miscellaneous utility templates in the DocBook XSL Stylesheets.</p> <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3> <p>These templates are defined in a separate file from the set of “common” templates because some of the common templates reference DocBook XSL stylesheet parameters, requiring the entire set of parameters to be imported/included in any stylesheet that imports/includes the common templates.</p> <p>The utility templates don’t import or include any DocBook XSL stylesheet parameters, so the utility templates can be used without importing the whole set of parameters.</p> </div> <p>This is not intended to be user documentation. It is provided for developers writing customization layers for the stylesheets.</p> <div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="refentrytitle"><a href="template.log.message.html">log.message</a></span><span class="refpurpose"> — Logs/emits formatted notes and warnings</span></dt><dt><span class="refentrytitle"><a href="template.get.doc.title.html">get.doc.title</a></span><span class="refpurpose"> — Gets a title from the current document</span></dt><dt><span class="refentrytitle"><a href="template.pad-string.html">pad-string</a></span><span class="refpurpose"> — Right-pads or left-pads a string out to a certain length</span></dt></dl></div></div> </div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="template.set.refentry.metadata.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="template.log.message.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">set.refentry.metadata </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> log.message</td></tr></table></div></body></html>