xsl-list
[Top] [All Lists]

RE: Incrementing a Global variable

2003-08-28 08:03:09
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(_at_)mulberrytech(_dot_)com
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