###### 3.2.5.1.1 bookmap

The <bookmap> element is a map specialization used to describe the relationships among a set of DITA topics intended to be configured as a traditional book. Bookmaps consist of references to topics organized as book content. The topic references therefore are labeled according to the book components they point to, such as booktitle, frontmatter, chapter, and appendix.

The containing element for a bookmap is the <bookmap> element, which can take title, id, conref, and anchorref attributes. Within the bookmap, use the various book components and subcomponents to add and organize references to the topics comprising the book. You can use the bookmap element to set default attribute values for all topic references in the map.

###### Contains

Doctype | Content model
bookmap, learningBookmap | ( ( (title) or (booktitle) ) (optional) then (bookmeta) (optional) then (frontmatter) (optional) then (chapter) (any number) then (part) (any number) then ( (appendices) (optional) or (appendix) (any number) ) then (backmatter) (optional) then (reltable) (any number) )

###### Contained by

This element is not contained by any other elements.

###### Inheritance

- map/map bookmap/bookmap

###### Example

    <bookmap xml:lang="en-us">
      <booktitle>
        <booklibrary>Books about stuff</booklibrary>
        <mainbooktitle>A book about one thing</mainbooktitle>
      </booktitle>
      <bookmeta>
        <bookrights>
          <copyrfirst><year>1994</year></copyrfirst>
          <copyrlast><year>2006</year></copyrlast>
          <bookowner>OASIS</bookowner>
        </bookrights>
      </bookmeta>
      <frontmatter>
        <booklists>
          <toc/>
          <figurelist/>
          <tablelist/>
        </booklists>
        <bookabstract href="MyBookAbstract.dita"/>
        <preface href="preface.dita"></preface>
      </frontmatter>
      <chapter href="chapter1.dita">
        <topicref href="subchap1.dita"></topicref>
      </chapter>
      <chapter href="chapter2.dita">
        <topicref href="subchap2.dita"></topicref>
      </chapter>
      <appendix href="app1.dita">
        <topicref href="insideApp1.dita"></topicref>
      </appendix>
      <appendix href="app2.dita">
        <topicref href="insideApp2.dita"></topicref>
      </appendix>
      <backmatter>
        <amendments href="updatesToTheBook.dita"/>
        <booklists>
          <trademarklist href="listoftrademarks.dita"/>
          <indexlist/>
        </booklists>
      </backmatter>
    </bookmap>

###### Attributes

Name | Description | Data Type | Default Value | Required?
id | An anchor point. This ID is the target for references by href and conref attributes and for external applications that refer to DITA content. See 2.1.3.4.1 ID attribute in the Architectural Specification for more details. | NMTOKEN | #IMPLIED | No
conref | This attribute is used to reference an ID on a map that can be reused. See 3.4.2.4 The conref attribute for examples and details about the syntax. | CDATA | #IMPLIED | No
anchorref | Identifies a location within another map file where this map will be anchored at runtime. Resolution of the map is deferred until the final step in the delivery of any rendered content. For example, anchorref="map1.ditamap/a1" causes this map to be pulled into the location of the anchor point "a1" inside map1.ditamap when map1.ditamap is rendered for delivery. | CDATA | #IMPLIED | No
xmlns:ditaarch | Declares the default DITA namespace. |  | "http://dita.​oasis-open.​org/​architecture/​2005/" |
DITAArchVersion | Designates the version of the architecture that is in use. The default value will increase with each release of DITA. | CDATA | "1.2" | No
domains | Indicates the specialized domains that are included in the DTD or Schema. This value will differ depending on what domains are included in the current DTD or Schema. | CDATA | Varies based on the DTD or Schema; a sample value is "(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic indexing-d)" | No
topicref-atts attribute group (collection-type, processing-role, type, scope, locktitle, format, linking, toc, print, search, chunk) | A set of related attributes. See 3.4.1.8 topicref-atts, topicref-atts-no-toc, and topicref-atts-without-format attribute groups. |  |  |
select-atts attribute group (props, base, platform, product, audience, otherprops, importance, rev, status) | A set of related attributes, described in 3.4.1.5 select-atts attribute group |  |  |
localization-atts attribute group (translate, xml:lang, dir) | A set of related attributes, described in 3.4.1.6 localization-atts attribute group. |  |  |
global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in 3.4.1.2 global-atts attribute group |  |  |
class, outputclass | Common attributes described in 3.4.1.9 Other common DITA attributes |  |  |

Previous Topic: 3.2.5.1 Bookmap content elements

Next Topic: 3.2.5.1.2 abbrevlist

Parent Topic: 3.2.5.1 Bookmap content elements

Sibling Topics:

3.2.5.1.2 abbrevlist

3.2.5.1.3 amendments

3.2.5.1.4 appendices

3.2.5.1.5 appendix

3.2.5.1.6 backmatter

3.2.5.1.7 bibliolist

3.2.5.1.8 bookabstract

3.2.5.1.9 booklibrary

3.2.5.1.10 booklist

3.2.5.1.11 booklists

3.2.5.1.12 booktitle

3.2.5.1.13 booktitlealt

3.2.5.1.14 chapter

3.2.5.1.15 colophon

3.2.5.1.16 dedication

3.2.5.1.17 draftintro

3.2.5.1.18 figurelist

3.2.5.1.19 frontmatter

3.2.5.1.20 glossarylist

3.2.5.1.21 indexlist

3.2.5.1.22 mainbooktitle

3.2.5.1.23 notices

3.2.5.1.24 part

3.2.5.1.25 preface

3.2.5.1.26 tablelist

3.2.5.1.27 toc

3.2.5.1.28 trademarklist