Re: [xsl] Abbreviated form of XSLT?

Subject: Re: [xsl] Abbreviated form of XSLT?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 9 Oct 2002 18:18:53 +0100
> what is the advantages of having XSLT expressed in XML syntax?
The main advantage is that it makes the original use case syntactically
very simple. Most of (simple) XSLT stylesheets are template bodies which
are fragments of the desired output.

In other languages you have to quote the XML fragments as strings which
gets very horrible very quickly.

The other example is that the language, being xml is able to be
processed by xslt programs. This is in fact very common, one can derive
an xslt stylesheet as the result of an xslt transform.

> Would such work be fruitful and welcome?
There have been some proposals, there have also been proposals going the
other direction, making xpath (which does use a compact syntax) use a
full xml syntax which would allow xslt stylesheets to more easily query
into xpath expressions.

As always it's a balance between hand authoring and ease of processing.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread