
Hi Christian, There is no support for using variables for the input bindings, sorry about the documentation/feature missmatch. We already fixed this in the current development adding support for editor variables when you specify the input bindings. Actually the XProc scenarios support will be improved in oXygen 11.1 as we already added support for specifying parameters and options. The ${cfn} stands for current file name and it is computed depending on whatever the current file is. If the selected editor is an XProc file then that will contain that file name. Please note that one of the interesting improvements in version 11 was that any type of scenario can be set for any file so you can set an XProc scenario for an XML file and then if you execute the transformation with that file as the current file then the ${cfn} variable will be expanded to that file filename. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Christian Wittern wrote:
Hi there,
Today I got my first XProc file working and now I am struggling to drive it from oxygen. What I would like to achieve is that the input and output files are taken from the environment in a similar way as the XSLT scenario does. However, the input port dialog does not let me input editor variables, although the help seems to suggest that this should be possible. And on the output side, I can set an editor variable, but if I set it to contain ${cfn} as I usually do, this turns out to be the filename of the XPRoc file, not of the input file, so it is the same for all files and thus not useful. Either I am seriously misunderstanding how this is supposed to work, or there are some bugs to fix here.
Cheers, Christian