RE: "Skip until"??

Subject: RE: "Skip until"??
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 8 Aug 2000 10:09:13 +0100
> Now, my XSLT file should be like this:
> 
> 1. Match all <node> elements
> 2. If element contains "name:", "subject:" or "date:", then continue 
> processing
> 3. If element contains the unwanted name "Jones" then:
> 3a. Skip until element contains "name:" again
> 3b. Process 3 again
> 4. Show value of element
> 
This needs recursion. Write a named template that takes the list of nodes as
a parameter. This template should process the first <node> element, then
call itself to process all the rest, unless the first element in the list
being processed satisfies the termination condition.

Mike Kay 


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


Current Thread