Xsl query

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 UTC