W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2009

Xsl query

From: Ajaynath Pydimarri Lakshmi Narayana <ajaynath.narayana@emirates.com>
Date: Sat, 14 Mar 2009 17:07:29 +0400
Message-ID: <54F74D7B7811134AB95D0AAA85367ADB95A3C5@DXBMIEM06.corp.emirates.com>
To: <jferraio@Adobe.COM>
Cc: <murakami@nadita.com>, <DPawson@rnib.org.uk>, <xsl-editors@w3.org>, <xsl-list@mulberrytech.com>
Hi 
         I am trying to create bookmarks(treestructure) in pdf document by using XSL from xml.i am fallowing the code not working.And also I want to restrict save and edit options and copy restrict things through XSL.Can you please give me some helpful info about this issues.Thank you.
http://www.ecrion.com/Support/Resources/XSL-FOTutorial/Bookmarks.xml.html

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="LetterPage" margin="1in">
<fo:region-body region-name="PageBody"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:bookmark-tree>
<fo:bookmark internal-destination="toc">
<fo:bookmark-title>Bookmarks Example</fo:bookmark-title>
<fo:bookmark internal-destination="chapter1">
<fo:bookmark-title>Hello World</fo:bookmark-title>
</fo:bookmark>
<fo:bookmark internal-destination="chapter2">
<fo:bookmark-title>Paragraphs</fo:bookmark-title>
</fo:bookmark>
</fo:bookmark>
</fo:bookmark-tree>
<fo:page-sequence master-reference="LetterPage" font="10pt Arial">
<fo:flow flow-name="PageBody" font-family="Arial Narrow" font-size="10pt">
<fo:block id="toc">Table Of Contents</fo:block>
<fo:block text-align-last="justify">
<fo:basic-link color="blue" internal-destination="chapter1">Hello World</fo:basic-link>
<fo:inline keep-together.within-line="always">
<fo:leader leader-pattern="dots"/>
<fo:page-number-citation ref-id="chapter1"/>
</fo:inline>
</fo:block>
<fo:block text-align-last="justify">
<fo:basic-link color="blue" internal-destination="chapter2">Paragraphs</fo:basic-link>
<fo:inline keep-together.within-line="always">
<fo:leader leader-pattern="dots"/>
<fo:page-number-citation ref-id="chapter2"/>
</fo:inline>
</fo:block>
<fo:block id="chapter1" break-before="page" font-size="18pt">
Hello World
</fo:block>
<fo:block>
Text text text text text text text text text text text
</fo:block>
<fo:block id="chapter2" break-before="page" font-size="18pt">
Paragraphs
</fo:block>
<fo:block>
Text text text text text text text text text text text
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>




Thanks & Regards,
Ajay Nath 
Emirates Group IT 
S731281@emirates.com 
Received on Saturday, 14 March 2009 13:08:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 11:00:00 GMT