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

Re: Procedural vs Declarative XML transformation approaches

  • From: Jose Luis Sierra Rodriguez <jlsierra@s...>
  • To: xml-dev@l...
  • Date: Sat, 04 Nov 2000 19:45:27 +0100

declarative vs procedural language
Maybe you find useful the following work about document transformations. I think
authors provide with some discussion about the dichotomy between procedural and
declarative transformations (apart of giving an in-depth overview of transformation
techniques, mainly based on formal work on translation theory):

ftp://cs-archive.uwaterloo.ca/cs-archive/CS-95-46/CS-95-46.ps.gz

By the way, I don't think in XSLT as 'purely declarative', because you explicitly use
control directives in terms of 'xsl:apply-templates' elements (assuming that you are
not using a more programmatic style in terms of named templates). In the pointed work you
will find truly declarative approaches, unfortunately only applicable under more or less
strong assumptions about the involved input and result languages.
In my opinion, I think a distinction between 'domain-specific languages for document
transformation' and general-purpose languages equipped with facilities for document
manipulation could be more meaningful that the more fuzzy 'declarative-procedural'
taxonomy.

Best regards

Jose-Luis

Mike.Champion@S... wrote:

> I don't want to open too big a can of worms, but I'd appreciate any pointers to background information that might help me understand the pros and cons, appropriate use cases, etc. for the alternative approaches to transforming XML (either to a display format or another XML format).  There exist  non-procedural languages such as XSLT to do this by "declaring" what is to be done, and there exist  procedural approaches -- such as  DOM+Javascript, OmniMark, XMLPerl, PHP (?), and perhaps XSLScript
> -- that  let you write a script to just *do* what needs to be done. .......

--
Jose-Luis Sierra-Rodriguez
------------------------------------------------------------
Dpto. Sistemas Informaticos |Room:  452 (Fac. Matematicas)
y Programacion              |Phone: (+34)91-3944303
Facultad CC. Matematicas    |Fax:   (+34)91-3944602
Universidad Complutense |mailto:jlsierra@s...
de Madrid               |http://bogart.sip.ucm.es/~jlsierra
Avd. Complutense S/N    |
28040 - Madrid (Spain)  |
============================================================



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.