We've used xslt and in-house variations as a declarative language to
trigger everything from <runtime>GUIs being instantiated and
classloading</runtime> to <compileTime>source generation and make-like
I agree with the distinction that it's not a programming language in the
Turing sense, but we've created a set of tags that, when run against
certain interpreters, act very much like scripts.
From a source generation POV, you're likely to hit the wall when the body
of your methods are anything more than get...() and set...(), or logical
From a runtime POV, you will have issues handling type checking,
maintenance and debugging.
<[log in to unmask] To: [log in to unmask]
Sent by: General Subject: Re: XML and Programming
<[log in to unmask]
10/27/99 05:31 PM
Please respond to
of Extensible Markup
Terje Norderhaug wrote:
> At 1:53 PM 10/27/99, Justin Vidler wrote:
> >I've heard some talk about using XML as a programming language. This,
> >unfortunately is a concept that I don't quite understand. I understand
> >XML's benefit to storing, displaying and indexing information. I
> >use C++ and Perl to manipulate and retrieve data from XML files, but
> >XML to program? Are they talking about programming in XML in a way that
> >would replace C++ and Java? Any points in the right direction on this
> >would be very much appreciated...
> You are already in the right direction. XML is not a programming
> and making it one is a big mistake. "Command tags" are just as bad as
> presentational markup, if not worse.
Maybe so, but the W3C has already done this to some extent with XSL(T).
haven't had a chance to think through this very well yet, but you've got to
consider the potential to generate code from a metalanguage such as XML.
there's platform-independence for you! And the possibilities for
self-documentation seem equally attractive. Plus, look at how many tools
out there already to generate Java classes/beans out of XML DTDs/Schemas.
Having said that, I'm not sure how far this could realistically be
But at least I'm clearly not the only lunatic out there :-).