Re: [xsl] "Line"-Tokenizing at <br/> in xhtml

Subject: Re: [xsl] "Line"-Tokenizing at <br/> in xhtml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 7 Nov 2006 15:24:29 GMT
> I would have expected that 3 <br/> elements give me 3 groups 

the stuff before the first "separator" is defined to be the first group.

> The nodes in the population are examined in population order. If a
> node matches the pattern, or is the first node in the population, then
> a new group is created  

so it starts putting nodes into a group, and then switches to a new
group when it gets to a br, it doesn't require a br to start the group.
(using "starts" here but as mentioned on a recent thread, this shouldn't
be taken to imply actual processing time order)

David

Current Thread