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: lookup-table thoughts (was Re: matching multiple times, outputting once?


Mike Kay wrote:
> As for the divide-and-conquer algorithm, it looks interesting and
> performs well, but as it produces completely different output from
> the other two, I can't quite see the relevance.

Gah, yes, my idiocy. Dimitre, can you see a way of using a divide
and conquer algorithm to produce a multiply-nested tree?

<xsl:call-template name="accumDivAndConquer">
  <xsl:with-param name="count" select="3" />
  <xsl:with-param name="base" select="'foo'" />
</xsl:call-template>

producing:

<foo>
  <foo>
    <foo>foo</foo>
  </foo>
</foo>

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]