RE: [xml-dev] RE: Declarative programming requires a different mindset

From
Michael Kay <>
To
'Mukul Gandhi' <>,
Date
2010-04-11T09:17:46Z
ID
<C88057B07BF74739968AD6B78210D9C8@Sealion>
Thread
RE: [xml-dev] RE: Declarative programming requires a different mindset
> But I agree, that XHTML is not a programming language (but 
> interestingly, I think, XSLT is -- because it allows us to 
> express, a sequence of instructions, which are processable by 
> machines).

I think that in common usage, the term "programming language" means a
language that is computationally complete (Turing-complete). On that
definition, XSLT and XQuery are certainly programming languages, while XSD
and XHTML are not.

(The notion of a "sequence of instructions processible by machines" isn't
needed to make this distinction.)

Regards,

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