[xsl] imperative/OO language with XML syntax?

Subject: [xsl] imperative/OO language with XML syntax?
From: Brian Chrisman <incubus@xxxxxxxxxxxxxx>
Date: Wed, 30 Mar 2005 15:53:41 -0800
Anybody seen an imperative/Object Oriented language which
uses and XML syntax?

I've been writing code generators in XSLt for some time.
My current generators create code in specific languages
such as perl, php, sql, etc.

I'd like to put my generated code into an XML format and
*then* transform it into the language of choice.  This will
allow me to define a transform for each language which
recreates the common logical constructs in each language
according to its capabilities.
(ie, generating 'try' blocks in php5, and eval{} blocks
in perl... and a nested set of if/thens or something else
simulating try blocks in php4 etc..)

I don't think it'd be that difficult to do it myself, but
if there's a standard out there, I'd like to write to that
instead.  I looked around quite a bit and couldn't find one.
Any references or suggestions would be appreciated.

Brian Chrisman

Current Thread