Re: [xsl] faster complicated counting

Subject: Re: [xsl] faster complicated counting
From: Liam R E Quin <liam@xxxxxx>
Date: Wed, 29 Feb 2012 15:33:44 -0500
On Wed, 2012-02-29 at 10:31 -0500, Syd Bauman wrote:
[...]
> In the output of the particular process I am working on now, I'd like
> to adorn each <l> element with three new attributes that indicate the
> count of the current <l> element in various contexts
You might find it easier to have more than one transform.

If you start by adding a parent-small-unit and parent-large-unit
attribute to each <l> then the numbering might be a lot easier.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

Current Thread