Re: [xsl] Creating Bookmarks and 508 compliance

Subject: Re: [xsl] Creating Bookmarks and 508 compliance
From: Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Jan 2012 08:43:26 +0100
You can use bookmark-tree
That works with FOP 1.0 (not sure it was supported earlier)
I definitely use that in FOP 1

<fo:bookmark-tree>
  <fo:bookmark internal-destination="front-page-id">
     <fo:bookmark-title>
       <xsl:text>Front Page Title</xsl:text>
    </fo:bookmark-title>
 </fo:bookmark>
......

A bookmark has a title, an internal-destination (make sure the block you point to has a matching id)
and a bookmark can have other bookmarks as well (to make a hierarchical tree)


There is a way to set the bookmark tree to open with the document, but I need to check what that is exactly if that is important

cheers

Geert


At 02:13 24/01/2012, you wrote:
I am using FOP Apache to generate and publish a pdf from XML and need to create bookmarks so when you open the pdf in adobe the left menu will show links to sections in the document.

I am told that the only way to do this is by using the extension fox:OUTLINE and fox:label elements. Are there any other options without using these extensions?

This really is an effort to become 508 compliant. Basically this is a Government Standard that says any PDF that is published should be designed for the hearing impaired and the 508 compliance is a set of standards to adhere to. One of the requirements is that you have bookmarks on pdfs over 9 pages.


-- Jesse Schaaf Schaafnet Consulting www.schaafnet.com 952-463-7625

Current Thread