Hi all,

It's the first time I'm posting here and I'm newbie in both XSL and FOP. So,
sorry for the horrors you'll find in my code :-)
I just would like to congratulate all the developers and contributors of
FOP, it's an amazing and so usefull product,

I just have a problem while grouping and sorting with FOP. The result is
different when using XSL or FOP. Ok with XSL, not with FOP.
The files are zipped on my server, so it would be nice if someone could help
me for this issue :

http://www.ngscan.com/downloads/fop/

The files are partial but usable I think.
It's a bibliography. Authors have many books and I want to sort by author
and book titles (node "indexsort").

Standard XSL result (stylesheet "toc.xsl")

Abegg, Regine
-- Die Äbtissinnenstuben im Schweizerischen Landesmuseum Zürich | 4
-- Die Kirchen von Altnau | 3
Alencastro, Camille de
-- Les expositions d'art à Neuchâtel | 1
-- Liste des expositions d'arts plastiques organisées par le Musée | 2
Carli-Lanfranconi, Annina de
-- Die Kirchen von Altnau | 3
Erni, Peter
-- Die Kirchen von Altnau | 3

FOP result (stylesheet  "BHS_2012_two_records.xsl" : Abegg is doubled)

Abegg, Regine
-- Die Äbtissinnenstuben im Schweizerischen Landesmuseum
Zürich : | 4
-- Die Kirchen von Altnau / | 3
Abegg, Regine
-- Die Äbtissinnenstuben im Schweizerischen Landesmuseum
Zürich : | 4
-- Die Kirchen von Altnau / | 3
Alencastro, Camille de
-- Les expositions d'art à Neuchâtel / | 1
-- Liste des expositions d'arts plastiques organisées par le
Musée : | 2
Carli-Lanfranconi, Annina de
-- Die Kirchen von Altnau / | 3
Erni, Peter
-- Die Kirchen von Altnau / | 3

On line 35 of "BHS_2012_two_records.xsl" :
<xsl:sort select="../indexsort"/>

if I put
<xsl:sort select="."/> the record is not doubled, but not sorted


Thank you a lot for your help
JPL



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

Reply via email to