Bonjour,
D'après ce que j'ai compris on ne peut pas utiliser de bookmark avec fop 0.20.5
par exemple:
J'ai donc essayer avec fox:outline:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <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>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" ... <fox:outline internal-destination="{@id}"> <fox:label> <xsl:call-template name="title" /> </fox:label> </fox:outline>
Mais j'ai pour erreur
Auriez vous une idée de pourquoi cela me fais cela?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 2011-06-07 16:52:00,023 INFO [STDOUT] [ERROR] 2011-06-07 16:52:00,023 INFO [STDOUT] Unsupported element encountered: outline (Namespace: http://xmlgraphics.apache.org/fop/extensions). Source context: Unknown source (line: 14, col: 44)
Partager