This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Re: Re: lookup-table thoughts (was Re: matching multiple times, outputting once?
- To: Dimitre Novatchev <dnovatchev at yahoo dot com>
- Subject: Re: [xsl] Re: Re: Re: lookup-table thoughts (was Re: matching multiple times, outputting once?
- From: Jeni Tennison <jeni at jenitennison dot com>
- Date: Wed, 7 Nov 2001 15:01:56 +0000
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <20011107140055.24452.qmail@web14505.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dimitre,
> Obviously Jeni's reflection of me needs updating...
Aww... I thought you'd like the divide-and-conquer stuff :)
> As you can notice, the "buildListWhile" function (oopsss...
> template) is generic enough to incorporate any future
> indoctrinations. Actually its real purpose is to help in simulating
> Haskell's lazy evaluation of infinite data structures, and
> especially to be used in implementing the "take", takeWhile" etc.
> family of Haskell functions.
Cool. Could you post the buildListWhile template so we can see how it
works?
By the way, out of interest, in:
> <xsl:template name="listGenerator" match="*[namespace-uri()='pGenerator']">
[snip]
> </xsl:template>
is there any particular reason why you're testing the namespace URI
rather than using match="pGenerator:*"?
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list