This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Abstract Interpretation of XSLT stylesheets
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Abstract Interpretation of XSLT stylesheets
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 6 Jul 2000 09:46:32 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list