|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Numbered Lists
Doug,
Have you tried <xsl:number/> ? It is designed for use cases like this, and provides many options for creating different kinds and styles of numbering, for counting different things, etc. Cheers, Wendell At 04:04 PM 10/9/01, you wrote: How can I generate a numbered list for a table of contents in XSL? I can generate and indent the table of contents, but I can't get the numbering to work. I thought of using the count() function. That works nicely for the chapters in the contents, but fails for the chapter names in the document. (They should match.) I thought of using a variable, but that seems quite messy. Any suggestions? ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








