Transformation Output File Paths are platform-specific

Here should go questions about transforming XML with XSLT and FOP.
Posts: 29
Joined: Mon Aug 24, 2009 11:42 pm

Transformation Output File Paths are platform-specific

Post by sarcanon » Fri Mar 29, 2019 5:56 pm


Using OxygenXML 21.0, I move frequently back and forth between Windows on my desktop and Mac OS on my laptop. One annoying problem I cannot figure out how to get around is that Oxygen appears to save output file paths in XSLT transformation scenarios in a platform-specific manner.

For instance, assume I specify a relative output path (Save as) on Windows, e.g., ${pd}\..\output\exports\foo.xml. I then move to my laptop and open the same project file, the path retains the Windows directory delimiters, storing the result file using the Windows delimiters, and thus with the wrong name and in a path not intended.

So, my question is, is it possible for Oxygen XML to automatically translate the directory delimiters in a platform-aware manner, so that the output file ends up in the correct location?

Thank you.

Posts: 6453
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transformation Output File Paths are platform-specific

Post by Radu » Mon Apr 01, 2019 12:46 pm


When specifying output paths you should always use "/" as it works both on Windows and Mac/Linux. So specify the paths something like:

Code: Select all

and the scenario should work as well on Mac as it does on Windows.
I will add an internal issue on our side to automatically save the path with the proper separators so that the project scenarios can be used on any platform.

Radu Coravu
<oXygen/> XML Editor

Post Reply