RE: Abstract Interpretation of XSLT stylesheets

Subject: RE: Abstract Interpretation of XSLT stylesheets
From: Matt Sergeant <matt@xxxxxxxxxxxx>
Date: Thu, 6 Jul 2000 11:23:47 +0100 (BST)
On Thu, 6 Jul 2000, Kay Michael wrote:

> > XSLT is a declarative language, not a functional language. Think SQL.
> 
> I think that's open to debate. XPath is certainly declarative, and the
> pattern-matching template rules of XSLT could also be described as
> declarative, but the call-template mechanism and the way variables and
> parameters work has a strong "functional" feel to it, even though the
> inability to manipulate functions as values means that it's not a
> fully-fledged functional programming language.
> 
> Incidentally, while the SELECT statement in SQL is declarative, procedures
> in SQL are rather heavily procedural.

Again, think about how extension functions are equivalent to stored
procedures, and maybe even named templates equivalent to views (though
that's stretching the analogy a bit).

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


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


Current Thread