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 expression. - Multi-pass processing. - Using customised data structures under a non-xsl namespace, embedded in the stylesheet. - Iterative processing based on recursion. ............ etc. 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". Cheers, Dimitre Novatchev. Bruce Kyle wrote: Hello, 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. Bruce __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL Design Patterns, Bruce Kyle | Thread | [xsl] Transforming xml files to wml, B. Tommie Usdin |
RE: [xsl] The "%" in DTD, Decarli, Jim | Date | Re: [xsl] The "%" in DTD, Mike Brown |
Month |