xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Uplawski <michael.uplaw...@uplawski.eu>
Subject Re: Dynamic bookmark-tree
Date Tue, 26 Jul 2011 15:54:18 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Thanks,

the result is available on the web, now:
http://www.uplawski.eu/foplaboratory/FOPLaboratory.html#examplePDF

Templates are unfortunately *NOT* the answer. Even if I tried to clean
the code up by use of one. Most of the complication also appears to be
not XSLT-related. ;-) And frankly spoken, I have trouble to get the
bookmark-tree into the XSL-context.

Anyway. Have a good time, all.

Michael.

Le 25/07/2011 20:56, Christopher R. Maden a écrit :
> On 07/25/2011 02:50 PM, Michael Uplawski wrote:
>> For simplicity I attach a screenshot of the generated and functional
>> bookmarks in the Okular-reader. Compared to the examples that I find
>> elsewhhere, I deem this a success already. But does one of you have a
>> hint on how I can finally "break" out of the for-each structure or
>> rather: in which way can I avoid to handle those nodes, which are
>> *siblings of the current node* but follow a node of a different type.
> 
> First of all, this question is not specific to FOP, but is a general
> XSLT question.  Please follow up on the XSL List, <URL:
> http://www.mulberrytech.com/xsl/xsl-list/ >.
> 
> Second, you appear to have fallen into a common problem of using
> for-each when apply-templates would be more appropriate.  Try rewriting
> your code that way; it may be that the solution becomes apparent when
> you do, and if not, it will be much easier for people on the XSL List to
> help you out.
> 
> ~Chris


- -- 
PSE send your e-mail encrypted. My GnuPG/OpenPGP-key:
2048 bits D/74a227d5 g/4e580a13 [expires: 2012-04-08]
fingerprint: 1E6E 87CF B2F5 EBBC ACB6  7120 0A44 0972 74A2 27D5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAk4u4yoACgkQCkQJcnSiJ9XrhgD/UTMH3OeA/Q7ceQyZKyIvriT4
i+XxBQ2NgFNdUsYKFlgA/jVg1zw9qrlkreYnryKeFc3Y9oS8+pTUeHH74FqgRwLJ
=aKfu
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message