[xsl] Re: XSL Design Patterns

Subject: [xsl] Re: XSL Design Patterns
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 15 Jun 2001 12:51:56 -0700 (PDT)
Hi Bruce,

While collecting XSLT design patterns is a good idea, it seems a little bit late as
there are very nice repositories of such -- e.g. Dave Pawson's XSLT FAQ site, or
VBXML.Com's Snippetcentral.

However, the first that immediately come into mind are:

  - The Kaysian method for set intersection, difference and symmetric difference.
  - The Muenchian method for grouping.
  - The Wendel Piez method of non-recursive looping
  - Oliver Becker's method of conditional selection of a value in a single 
  - Multi-pass processing.
  - Using customised data structures under a non-xsl namespace, embedded in the 
  - Iterative processing based on recursion.

The idea of using generic templates based on template references is also a good
candidate for this group. It directly corresponds to the following design patterns
from the gang of four: "Strategy" and "Template".

Dimitre Novatchev.

Bruce Kyle wrote:


I am new to this list and hope this isn't an old question.  I may be 
overloading the word "patterns" here.  My thought is about patterns as 
expressed in the design pattern community (ala Design Patterns by the gang 
of four), more like a set of XSL statements that accomplish a particular 
task rather than selecting patterns in an XML document using Xpath, 
although that might be useful too.

Is anyone pulling together a list of Design Patterns using XSL?  My thought 
is that XSL lends itself to these concepts and expresses it as close as 
anyone has.

If there is interest, I'll compile xsl design patterns and post them.


Do You Yahoo!?
Spot the hottest trends in music, movies, and more.

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

Current Thread