[ATL] XML to XML transformation: XSLT or ATL? [message #78084] |
Tue, 01 April 2008 11:36  |
Eclipse User |
|
|
|
Originally posted by: xiong.irit.fr
Hi all,
In the case of an XML to XML transformation, I was wondering whether using
XSLT or using ATL is the best solution.
In particular, my questions would be:
1) What are the advantages/disadvantages of each of these languages?
2) Are these transformations equivalent? (e.g do ATL and XSLT languages
have the same expressive power?)
Could someone give me a hint about that?
Yours sincerely,
Joseph Xiong.
|
|
|
|
Re: [ATL] XML to XML transformation: XSLT or ATL? [message #78435 is a reply to message #78084] |
Sun, 06 April 2008 06:49   |
Eclipse User |
|
|
|
Originally posted by: milan.milanovic.org
Dear Joseph,
Joseph Xiong wrote:
> Hi all,
> In the case of an XML to XML transformation, I was wondering whether using
> XSLT or using ATL is the best solution.
> In particular, my questions would be:
> 1) What are the advantages/disadvantages of each of these languages?
Advantages of this approach are that when you have two XML files injected
into XML models and later to the domain metamodel, and the same for other
XML language and its metamodel, then you can define transformations
between that two metamodels on a very high level, using only metamodel
concepts (classes) and of course powerfull ATL language.
Disadvatages is that you need to have or define metamodel for you
XML-based language, and to define usually two uni-directional
transformations, namely, XML2MM and MM2XML.
> 2) Are these transformations equivalent? (e.g do ATL and XSLT languages
> have the same expressive power?)
> Could someone give me a hint about that?
Those two languages works in completely different technical spaces, so
they work with little bit different concepts. But, I must say that when
you have transformed you XML files into the domain metamodel instance, it
is easier and more expressive to work with ATL. More on this you can find
here:
http://www.research.ibm.com/journal/sj/453/czarnecki.pdf
http://dx.doi.org/10.1007/978-3-540-72982-2_25
_____________________________
Best regards, Milan Milanovic
> Yours sincerely,
> Joseph Xiong.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03216 seconds