[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Fw: Can solve the N-queens - but can't count!
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|