RE: Abstract Interpretation of XSLT stylesheets
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format