summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/db2html.cmdsynopsis.sbr.padding.mode.page
blob: 0f3ad5edf8d220742b64ef8f4bec495cfe354f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/" id="db2html.cmdsynopsis.sbr.padding.mode" type="topic" style="xslt-mode"><info><link type="guide" xref="db2html-cmdsynopsis" group="modes"/><link type="guide" xref="modes" group="db2html"/><revision version="1.0" date="2011-05-16" status="final"/><desc>Output padding for elements leading up to an <code>sbr</code> element.</desc></info><title>db2html.cmdsynopsis.sbr.padding.mode</title><p>Output padding for elements leading up to an <code>sbr</code> element.</p>
  
  
  <synopsis><title>Parameters</title><terms>
    <item>
      <title><code>sbr</code></title>
      <p>The <code>sbr</code> element to pad up to</p>
    </item>
    <item>
      <title><code>sepchar</code></title>
      <p>The value of the <code>sepchar</code> attribute on the enclosing <code>cmdsynopsis</code></p>
    </item>
  </terms></synopsis>
  <p>When processed in this mode, elements output whitespace to the length of the textual output they would normally produce.  This allows options to be aligned when explicit line breaks are inserted with <code>sbr</code> elements.</p>
  <p>To create the padding for a given <code>sbr</code> element, this mode is called on the enclosing <code>cmdsynopsis</code> element, passing the <code>sbr</code> element.  When processed in this mode, elements should only output padding for content the leads up to the <code>sbr</code> element passed in the <code style="xslt-param">sbr</code> parameter.  When processing children that don't contain the given <code>sbr</code> element, the <code style="xslt-param">sbr</code> parameter should be set to <code>false()</code> for those children.  This avoids additional descendant selectors, which are generally expensive to perform.</p>
</page>