[xep-support] Bookmarks in PDF

Guillaume Sejourne guillaume.sejourne at bizanga.com
Fri Feb 6 00:04:04 PST 2009


Hi,

I'm generating PDF bookmarks, and the level depends on your xsl transformation actually...
Here's an example :

.......
</fo:layout-master-set>
<rx:outline>
<xsl:for-each select="//level1">
			<rx:bookmark internal-destination="{@id}">
				<rx:bookmark-label><xsl:value-of select="title"/></rx:bookmark-label>
				<xsl:for-each select="level2">
					<rx:bookmark internal-destination="{@id}">
						<rx:bookmark-label><xsl:value-of select="title"/></rx:bookmark-label>
						<!--
                                             And you can go on with as many xsl:for-each per level you want
                                             to generate bookmarks for...

                                                --->
					</rx:bookmark>
				</xsl:for-each>
			</rx:bookmark>
		</xsl:for-each>
</rx:outline>
<fo:page-sequence...>

Hope this helps.

= = = ======= = = = 

Guillaume Séjourné
Senior Technical Writer
Bizanga Ltd.

= = = ======= = = =

----- Original Message -----
From: "Lillian Sullam" <lsullam at bruxton.com>
To: xep-support at renderx.com
Sent: Thursday, 5 February, 2009 16:52:05 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [xep-support] Bookmarks in PDF

Hello, 

I was wondering if there is a way to control how far down the bookmark levels go in the PDF output. 

Lilly 

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list