[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Incrementing a Global variable


Subject: RE: [xsl] Incrementing a Global variable
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 11:03:09 -0400

At 08:09 AM 8/28/2003, Mike wrote:
> Problem: print a list of students, grouping the students by their
> language and printing a blank line between each group.
> Number the blank
> lines in addition to the lines with students' names.
>
I think the best solution to this kind of problem is to do two passes.
First generate the lines, then number them.

And keep in mind that in XSLT 2.0, or in XSLT 1.0 + node-set() extension, the two passes can be executed in a single run.


This is going to be really powerful. And fun to debug.

Cheers,
Wendell


====================================================================== 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




Current Thread
Keywords