Publishing Books Using XML Technologies
Dr. Herong Yang, Version 4.01

Inserting Anchors in Book Source Files

This section describes how to insert anchors in your book source files to allow Web page elements to be added later in the process.

If you would like to insert anchors into book source files, so that extra Web page elements can be attached to them during the Web page generation process. Anchors can be used to attach Web page navigation elements, Website logos, or advertisement banners.

Anchors should be added using the XHTML "a" tag as shown in the examples below:

<a name="navigationBefore"/>
<a name="navigationAfterSection"/>
<a name="bookLogo"/>

Sections in This Chapter

Book Source File Structure

Variables Used in Book Source Files

Inserting Anchors in Book Source Files

Dr. Herong Yang, updated in 2007
Inserting Anchors in Book Source Files