Re: last of type problem

Subject: Re: last of type problem
From: James Clark <jjc@xxxxxxxxxx>
Date: Fri, 15 Jan 1999 09:32:02 +0700
regan@xxxxxxxxxxx wrote:
> 
> Hi all,
>         I am working on a project where we are converting XML + XSL -> HTML,
> currently I am using XT (thanks!). I have come across an issue that I
> initially thought would be easy: creating a comma separated list. My problem
> is the items I collect for the list come from separate sections of the XML
> tree, and what last-of-type() tests is whether the node has following
> siblings in relation to it parent, not to the collection of nodes I have
> collected. Is there any way to do this?

Not in general.  Things are worse when the list is a result of sorting. 
We know about this problem and it's on our list of issues. It needs to
be possible to do processing based on the position of the node not in
the source tree but in the list of nodes being processed with
xsl:for-each or xsl:apply-templates.

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread