[ATL] how to pass a parameter to a Query [message #103537] |
Wed, 15 April 2009 08:16 |
Eclipse User |
|
|
|
Hello
I am using some existing code (an ATL query) where the result model is
hard coded in the ATL source (see code below). The transformation query
is launched programatically.
I would like to pass the result file name and its path as parameters.
Is it possible, and how ?
8< -------------------------------
query XML2Text_Query = XML!XMLDocument.allInstances()->
collect(doc | doc.toText().writeTo(
('/tmp/'
+
'Output.grf').debug('Persiform XML2Text - Writing XML file')
));
uses XML2Text;
8< -------------------------------
--
Cordialement
Vincent MAHÉ
Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71
|
|
|
Powered by
FUDForum. Page generated in 0.02974 seconds