<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="db.xref.target">
 <info>
  <link type="guide" xref="db-xref" group="templates"/>
  <link type="guide" xref="templates" group="db"/>
  <desc>Generates the target identifier of a cross reference</desc>
 </info>
 <title>db.xref.target</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$linkend</code></title>
    <p>The id of the linked-to element, usually from the <sys>linkend</sys> attribute</p>
   </item>
   <item>
    <title><code>$target</code></title>
    <p>The linked-to element</p>
   </item>
   <item>
    <title><code>$is_chunk</code></title>
    <p>Whether <code>$target</code> is known to be a chunked element</p>
   </item>
  </terms>
 </synopsis>
 <p>REMARK: Talk about how this works with chunking</p>
 <list style="compact">
  <title>Calls Parameters</title>
  <item>
   <p><link xref="db.chunk.basename"/></p>
  </item>
  <item>
   <p><link xref="db.chunk.extension"/></p>
  </item>
 </list>
 <list style="compact">
  <title>Calls Keys</title>
  <item>
   <p><link xref="db.id.key"/></p>
  </item>
 </list>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="db.chunk.chunk-id"/></p>
  </item>
 </list>
</page>
