Fw: Can solve the N-queens - but can't count!

Subject: Fw: Can solve the N-queens - but can't count!
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Tue, 15 Jun 1999 19:50:52 +0200
Another approach suggested by a co-worker of mine (Doron Rajwan
doron@xxxxxxxxxxxxx) is to avoid the need to apply match patterns to result
fragments. Instead, provide a way for a stylesheet to specify that another
stylesheet has to be applied to its output.

This can be done by adding an attribute to <xsl:stylesheet>, such as in:
<xsl:stylesheet ... chain="url-of-chained-stylesheet">
Or in the form of a tag:
<xsl:chain href="url-of-chained-stylesheet"/>
Where only one occurrence of the tag would be allowed. Or, of course, using
a PI.

At any rate, this neatly sidesteps the implementation costs of applying
patterns to result fragments. "Filter" stylesheets would have the potential
for being reusable, and the implementation as a whole would have the
potential to make efficient use of multiple CPUs.

Share & Enjoy,

    Oren Ben-Kiki



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


Current Thread