Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Model-to-Model Transformation » [ATL] how can I the filename of the source model?
[ATL] how can I the filename of the source model? [message #870297] Mon, 07 May 2012 11:20 Go to previous message
Javier Belenguer is currently offline Javier Belenguer
Messages: 4
Registered: May 2012
Junior Member
I've just started learning how ATL works, and this may be a trivial question but I can't find a way to do it.

I'm trying to transform a XML file (e.g. "A.xml") into another XML with different structure (e.g. "B.xml") and the new file B.xml has an attribute that references the previous file (something like <base href="A.xml"/>).

Is there any method to get filename of the source model ("A.xml" in the example) being transformed?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:ATL - if expression error
Next Topic:what about the messages in the list e.m.m2m
Goto Forum:
  


Current Time: Sat May 25 14:55:56 EDT 2013

Powered by FUDForum. Page generated in 0.01578 seconds