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

Re: Declarative document transformation?

  • From: Geert Bormans <geert@gbormans.telenet.be>
  • To: xml-dev <xml-dev@lists.xml.org>
  • Date: Thu, 2 Dec 2021 20:49:28 +0100 (CET)

Re:  Declarative document transformation?
Hi Hans-Jürgen,

It does make sense.

You could think of your "opsheet" as an XProc step
There are quite a few XProc steps already defined that would serve as "opsheet" 
p:rename, p:add-attribute, p:replace, p:delete, just to name a few
not too hard to add custom ones yourself
and for more complex operations, p:xslt can be added in the pipeline at will


Hope this helps

Met vriendelijke groeten,
Best regards,

Geert Bormans

----- Op 2 dec 2021 om 19:32 schreef Hans-Juergen Rennau <hrennau@yahoo.de>:

Hello,

XML technology excellently supports two fundamental ways how to think about document transformation - push style (XSLT, template based), pull style (XQuery, node constructors with embedded expressions).

Much less important, but perhaps not completely without interest in certain scenarios, may be yet another way - I call it "op style", for want of a better word: transformation as a pipeline of simple operations (e.g. grouping, flattening, deepening, moving, merging, separating, ...). Each operation might be defined in a purely declarative way - operation name plus parameters. Instead of writing code, one might implement simple transformations (of a certain type) by just writing an "opsheet", a flat sequence of operation descriptors. It could be done by people without technical skills, and it might also be useful for technical folks because removing the need to write code, thus saving time. And nice support by IDEs can be imagined. Another aspect - when controlling complex systems, the explicitness of opsheets might be helpful.

My question - does this make sense to you? Do you perhaps know projects or products which offer something similar?

Kind regards,
Hans-Jürgen



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.