1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE html
|
---|
3 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
4 | <html xml:lang="en-us" lang="en-us">
|
---|
5 | <head>
|
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
---|
7 | <meta name="copyright" content="(C) Copyright 2005"/>
|
---|
8 | <meta name="DC.rights.owner" content="(C) Copyright 2005"/>
|
---|
9 | <meta name="DC.Type" content="concept"/>
|
---|
10 | <meta name="DC.Title" content="Pull content into maps (mappull)"/>
|
---|
11 | <meta name="abstract" content="The mappull step pulls content from referenced topics into maps, and then cascades data within maps. This step is implemented in XSLT."/>
|
---|
12 | <meta name="description" content="The mappull step pulls content from referenced topics into maps, and then cascades data within maps. This step is implemented in XSLT."/>
|
---|
13 | <meta name="DC.Relation" scheme="URI" content="../dev_ref/DITA-OTPreprocess.html"/>
|
---|
14 | <meta name="DC.Relation" scheme="URI" content="../dev_ref/preprocess-mapref.html"/>
|
---|
15 | <meta name="DC.Relation" scheme="URI" content="../dev_ref/preprocess-chunk.html"/>
|
---|
16 | <meta name="DC.Format" content="XHTML"/>
|
---|
17 | <meta name="DC.Identifier" content="preprocess-mappull"/>
|
---|
18 | <meta name="DC.Language" content="en-us"/>
|
---|
19 | <link rel="stylesheet" type="text/css" href="../commonltr.css"/>
|
---|
20 | <link rel="stylesheet" type="text/css" href="../dita-ot-doc.css"/>
|
---|
21 | <title>Pull content into maps (mappull)</title>
|
---|
22 | </head>
|
---|
23 | <body id="preprocess-mappull">
|
---|
24 |
|
---|
25 |
|
---|
26 | <h1 class="title topictitle1">Pull content into maps (mappull)</h1>
|
---|
27 |
|
---|
28 |
|
---|
29 | <div class="body conbody"><p class="shortdesc">The <samp class="ph codeph">mappull</samp> step pulls content from referenced topics into maps, and
|
---|
30 | then cascades data within maps. This step is implemented in XSLT.</p>
|
---|
31 |
|
---|
32 | <div class="section"><div class="p">The <samp class="ph codeph">mappull</samp> step makes the following changes to the DITA map:<ul class="ul">
|
---|
33 | <li class="li">Titles are pulled from referenced DITA topics. Unless the @locktitle attribute is set to "yes",
|
---|
34 | the pulled titles replace the navigation titles specified on the <topicref> elements.</li>
|
---|
35 |
|
---|
36 | <li class="li">The <linktext> element is set based on the title of the referenced topic, unless it is
|
---|
37 | already specified locally.</li>
|
---|
38 |
|
---|
39 | <li class="li">The <shortdesc> element is set based on the short description of the referenced topic, unless
|
---|
40 | it is already specified locally.</li>
|
---|
41 |
|
---|
42 | <li class="li">The @type attribute is set on <topicref> elements that reference local DITA topics. The value
|
---|
43 | of the @type attribute is set to value of the root element of the topic; for example, a
|
---|
44 | <topicref> element that references a task topic is given a @type attribute set to "task"".</li>
|
---|
45 |
|
---|
46 | <li class="li">Attributes that cascade, such as @toc and print, are made explicit on any child <topicref
|
---|
47 | >elements. This allows future steps to work with the attributes directly, without reevaluating the
|
---|
48 | cascading behavior.</li>
|
---|
49 |
|
---|
50 | </ul>
|
---|
51 | </div>
|
---|
52 | </div>
|
---|
53 |
|
---|
54 | </div>
|
---|
55 |
|
---|
56 | <div class="related-links">
|
---|
57 | <div class="familylinks">
|
---|
58 | <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../dev_ref/DITA-OTPreprocess.html" title="The pre-processing operation is a set of steps that typically runs at the beginning of every DITA-OT transformation. Each step or stage corresponds to an Ant target in the build pipeline; the preprocess target calls the entire set of steps.">Pre-processing modules</a></div>
|
---|
59 | <div class="previouslink"><strong>Previous topic:</strong> <a class="link" href="../dev_ref/preprocess-mapref.html" title="The mapref step resolves references from one DITA map to another. This step is implemented in XSLT.">Resolve map references (mapref)</a></div>
|
---|
60 | <div class="nextlink"><strong>Next topic:</strong> <a class="link" href="../dev_ref/preprocess-chunk.html" title="The chunk step breaks apart and assembles referenced DITA content based on the @chunk attribute in maps. This step is implemented in Java.">Chunk topics (chunk)</a></div>
|
---|
61 | </div>
|
---|
62 | </div>
|
---|
63 |
|
---|
64 | </body>
|
---|
65 | </html>
|
---|