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"/>

Table of Contents

 About This Book

 Ideas on Publishing Books using XML

 Overview of hyPub - A Simple XML Publishing Tool

Writing Book Contents in XHTML Source Files

 Book Source File Structure

 Variables Used in Book Source Files

Inserting Anchors in Book Source Files

 Transforming Book Source Files with XSL Technology

 Designing Web Page Layouts with Tables

 Controlling Web Page Appearance with CSS

 Sharing HTML Codes with JavaScript Files

 Generating Web Pages with hyPub

 Formatting Printable Documents with XSL-FO

 Generating PDF Documents with hyPub

 Areas of Future Improvements


 PDF Printing Version

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