[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Abbreviated form of XSLT?
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|