~ubuntu-branches/ubuntu/maverick/docbook-xsl-doc/maverick

« back to all changes in this revision

Viewing changes to doc/common/template.pad-string.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Leidert (dale)
  • Date: 2009-07-23 15:19:36 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090723151936-hnjus4hda6gl9486
Tags: 1.75.2-1
* New upstream release.
* debian/control (Standards-Version): Bumped to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>pad-string</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="utility.html" title="Common � Utility Template Reference"><link rel="prev" href="template.get.doc.title.html" title="get.doc.title"><link rel="next" href="charmap.html" title="Common � Character-Map Template Reference"><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">pad-string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="template.get.doc.title.html">Prev</a>�</td><th width="60%" align="center">Common � Utility Template Reference</th><td width="20%" align="right">�<a accesskey="n" href="charmap.html">Next</a></td></tr></table><hr></div><div class="refentry" title="pad-string"><a name="template.pad-string"></a><div class="titlepage"></div>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>pad-string</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="utility.html" title="Common � Utility Template Reference"><link rel="prev" href="template.get.doc.title.html" title="get.doc.title"><link rel="next" href="charmap.html" title="Common � Character-Map Template Reference"><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">pad-string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="template.get.doc.title.html">Prev</a>�</td><th width="60%" align="center">Common � Utility Template Reference</th><td width="20%" align="right">�<a accesskey="n" href="charmap.html">Next</a></td></tr></table><hr></div><div class="refentry" title="pad-string"><a name="template.pad-string"></a><div class="titlepage"></div>
2
2
<div class="refnamediv"><h2>pad-string</h2><p>
3
3
pad-string
4
4
 &#8212; Right-pads or left-pads a string out to a certain length
12
12
  ...
13
13
&lt;/xsl:template&gt;</pre>
14
14
</div>
15
 
<div class="refsect1" title="Description"><a name="id1460877"></a><h2>Description</h2>
 
15
<div class="refsect1" title="Description"><a name="id1460396"></a><h2>Description</h2>
16
16
    
17
17
<p>This function takes string <em class="parameter"><code>padVar</code></em> and
18
18
      pads it out in the direction <em class="parameter"><code>rightLeft</code></em> to
25
25
    <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
26
26
      
27
27
<p>This function began as a copy of Nate Austin's
28
 
        <code class="function">prepend-pad</code> function in the <a class="link" href="http://www.dpawson.co.uk/xsl/sect2/padding.html" target="_top">Padding
29
 
          Content</a> section of Dave Pawson's <a class="link" href="http://www.dpawson.co.uk/xsl/index.html" target="_top">XSLT
 
28
        <code class="function">prepend-pad</code> function in the <a class="ulink" href="http://www.dpawson.co.uk/xsl/sect2/padding.html" target="_top">Padding
 
29
          Content</a> section of Dave Pawson's <a class="ulink" href="http://www.dpawson.co.uk/xsl/index.html" target="_top">XSLT
30
30
          FAQ</a>.</p>
31
31
 
32
32
    </div>
33
 
  </div><div class="refsect1" title="Returns"><a name="id1460938"></a><h2>Returns</h2>
 
33
  </div><div class="refsect1" title="Returns"><a name="id1460453"></a><h2>Returns</h2>
34
34
  
35
35
<p>Returns a (padded) string.</p>
36
36
</div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="template.get.doc.title.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="utility.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="charmap.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">get.doc.title�</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">�Common � Character-Map Template Reference</td></tr></table></div></body></html>