<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="db.chunk.chunk-id.axis">
 <info>
  <link type="guide" xref="db-chunk" group="templates"/>
  <link type="guide" xref="templates" group="db"/>
  <desc>Determines the id of the first chunk along a specified axis.</desc>
 </info>
 <title>db.chunk.chunk-id.axis</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$node</code></title>
    <p>The base element</p>
   </item>
   <item>
    <title><code>$node</code></title>
    <p>The axis along which to find the first chunk</p>
   </item>
   <item>
    <title><code>$depth_in_chunk</code></title>
    <p>The depth of <code>$node</code> in the containing chunk</p>
   </item>
   <item>
    <title><code>$depth_of_chunk</code></title>
    <p>The depth of the containing chunk in the document</p>
   </item>
  </terms>
 </synopsis>
 <p>REMARK: Explain how this works, and what the axes are</p>
 <list style="compact">
  <title>Calls Parameters</title>
  <item>
   <p><link xref="db.chunk.max_depth"/></p>
  </item>
 </list>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="db.chunk.chunk-id"/></p>
  </item>
  <item>
   <p><link xref="db.chunk.chunk-id.axis"/></p>
  </item>
  <item>
   <p><link xref="db.chunk.depth-in-chunk"/></p>
  </item>
  <item>
   <p><link xref="db.chunk.depth-of-chunk"/></p>
  </item>
 </list>
</page>
