This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: Re: Re: lookup-table thoughts (was Re: matching multiple times, outputting once?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]