Re: [xsl] Top 10 XSLT patterns

Subject: Re: [xsl] Top 10 XSLT patterns
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 3 Apr 2014 09:02:50 -0700
In the course the following XSLT design patterns are discussed:

  Using and overriding the identity rule.


  Avoiding the use of XSLT conditional instructions.

  Fill-in the blanks.


These are what I consider the most important design patterns, and
there certainly are other, less frequently used important patterns.

On Thu, Apr 3, 2014 at 8:33 AM, Abel Braaksma (Exselt) <abel@xxxxxxxxxx> wrote:
> While going over Dimitre's new XSLT course, I was wondering about the
> following: would it be possible to compile a list of, say, top 10 of the
> most used XSLT design patterns?
> Something like (unordered as of yet):
> - modified identity transform
> - fill-in-the-blanks
> - aggregate transforms (totals, averages, counts etc)
> - sorting
> - flat-to-hierarchy
> - hierarchy-to-flat
> - unparsed text mining (?)
> - data merging
> Not sure whether each of them can be given a true programming pattern,
> and surely, I am missing many obvious cases (any you would like to
> add?). I am often of the impression that the modified identity transform
> is by far the most widely used, but I can be wrong, perhaps it is
> aggregation or fill-in-the-blanks?
> It will likely be non-trivial to compile such list without a good query
> to search through existing stylesheets and known programming challenges.
> But from your experience, what patterns do you encounter most often?
> Cheers,
> Abel Braaksma
> Exselt XSLT 3.0 processor

Dimitre Novatchev
Truly great madness cannot be achieved without significant intelligence.
To invent, you need a good imagination and a pile of junk
Never fight an inanimate object
To avoid situations in which you might make mistakes may be the
biggest mistake of all
Quality means doing it right when no one is looking.
You've achieved success in your field when you don't know whether what
you're doing is work or play
To achieve the impossible dream, try going to sleep.
Facts do not cease to exist because they are ignored.
Typing monkeys will write all Shakespeare's works in 200yrs.Will they
write all patents, too? :)
I finally figured out the only reason to be alive is to enjoy it.

Current Thread