Re: [xsl] Why are there no XSLT processors implemented in XSLT?

Subject: Re: [xsl] Why are there no XSLT processors implemented in XSLT?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 01 May 2012 13:04:19 +0100
On 01/05/2012 12:49, Costello, Roger L. wrote:
Hi Folks,

I will take the following as an axiom:

Programs written to process XML should be implemented in XSLT.

An XSLT processor is a program that processes XML.

Therefore an XSLT processor should be implemented in XSLT. (As an analogy, many C compilers are implemented in C.)

However, there are no XSLT processors implemented in XSLT.

Instead, XSLT processors are implemented in languages such as Java.

The implication of this state of affairs is this: "For real, manly XML processing don't use XSLT; instead, use Java."



The entire argument appears spurious, so it seems fruitless to try to argue specific points.

Why would anyone even try to do this, even if it were possible, it would be vast amounts of work and would just produce an xslt engine that is slower than the one you started with.

Why are there no XSLT processors implemented in XSLT?

Because it is not a good language for writing a compiler or parser. It is a good language for processing XML.

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread