[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Procedural vs Declarative XML transformation approaches

  • From: Gavin Thomas Nicol <gtn@e...>
  • To: xml-dev@l...
  • Date: Sun, 05 Nov 2000 11:10:30 -0500

javascript xml transform
> Maybe I have been barking up the wrong tree to assume 
> that XSLT is a "declarative" and that the declarative/procedural
> debate in related disciplines sheds much light on the question of 
> what we can do to to make XML transformation easier for our users. 
> Just as few end users care much whether their authoring tool 
> produces Postscript or PDF, perhaps XML end-users will soon not 
> care much whether their transformation tools work with DOM+script, 
> XSLScript or XPathScript, or good ol'  XSLT under the hood, so 
> long as there is a reasonable UI and the technology is reasonably 
> vendor-neutral and portable.

I think it depends on what you're trying to accomplish... I think
a good example of the tradeoffs in language design is JavaScript.

For stuff like onSelect handling, forms submission etc. the code
is very simple and easily analysed. However, the language is such
that you cannot build an editor that does much beyond treating
the code as a black box, and offer a preview mode, because 
complete static analysis of arbitrary JavaScript is impossible.

XSLT is better than JavaScript, but stylesheets can easily become
complicated enough that static analysis is prohibitive at best.
Given the fact that it's turing complete...

FWIW. I think carefully designed declarative systems can be
tremendously valuable in managing complexity, but are only
applicable in well-defined areas. Typically, you have to augment
them with some "escape" hatches...
  

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.