[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Numbering of titles

Subject: RE: Numbering of titles
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 10 Dec 2005 18:30:07 -0000
RE:  Numbering of titles
I think that (2) - a two-pass solution - is probably the simplest to
implement. Anything else would involve changing the code you use to generate
the XSLT stylesheet, which you probably don't want to make any more complex
than it is already.

Michael Kay
http://www.saxonica.com/


> -----Original Message-----
> From: drkm [mailto:darkman_spam@xxxxxxxx]
> Sent: 10 December 2005 18:24
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Numbering of titles
>
> 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
> Tilichargez cette version sur http://fr.messenger.yahoo.com

Current Thread
  • Numbering of titles
    • drkm - 10 Dec 2005 15:52:25 -0000
      • drkm - 10 Dec 2005 18:24:16 -0000
        • Michael Kay - 10 Dec 2005 18:32:51 -0000 <=
      • <Possible follow-ups>
      • drkm - 10 Dec 2005 19:04:46 -0000

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.