xsl-list
[Top] [All Lists]

RE: Numbering of titles

2005-12-10 11:23:42
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) ?

  Regards,

--drkm




















        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>