RE: [xsl] Numbering of titles

Subject: RE: [xsl] Numbering of titles
From: drkm <darkman_spam@xxxxxxxx>
Date: Sat, 10 Dec 2005 19:23:42 +0100 (CET)
drkm wrote:

>   I wonder if such a thing is possible with the stateless
> nature of XSLT?

  BTW, I use Saxon-SA 8.6.1, called from Java.

  Actually, I think there are three possible solution:

    1) implementing a Java extension that maintain state.
       IMHO not a very good idea;

    2) collecting all the result tree, then apply a template
       to that tree that resolve the numbering of the
       counters effectively outputed.  IMHO time-consuming,
       but less than the FO rendition itself;

    3) using a functionality of the output language.  So
       make it no longer an XSLT problem, and resolve the
       numbering after the transformation.  IMHO, the best
       choice if supported by the target language.

  So now my FO-related question: is there a solution to
numbering in XSL-FO ?-)

  And if not, what do you think of the 2) ?




Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Tilichargez cette version sur

Current Thread
  • [xsl] Numbering of titles
    • drkm - Sat, 10 Dec 2005 16:51:28 +0100 (CET)
      • drkm - Sat, 10 Dec 2005 19:23:42 +0100 (CET) <=
      • <Possible follow-ups>
      • drkm - Sat, 10 Dec 2005 20:04:19 +0100 (CET)