RE: [xml-dev] A more fundamental concept than functions: units of code that self-select

From
Michael Kay <>
To
"'Costello, Roger L.'" <>,
Date
2010-05-18T09:03:42Z
ID
<D30ACFF18DBE41AB8614D71CCB12EF4B@Sealion>
Thread
RE: [xml-dev] A more fundamental concept than functions: units of code that self-select
> It occurs to me that the functionality provided by template 
> rules represent an even more fundamental concept. In fact, 
> functions are merely a subset of the functionality provided 
> by template rules.

One man's fundamental concept is another man's syntactic sugar. You could
also adopt the viewpoint that xsl:apply-templates is just syntactic sugar
for a big switch statement.

That's not to belittle the concept - just to point out that what is
fundamental and what is superficial is a highly subjective judgement.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay