Page 1 of 1

URL variables

Posted: Wed Jun 21, 2023 11:05 am
by TMiles
I am using the same folder structure for a number of projects, and want to further automatise the transformation process using URL variables.

The key files will always be located in these folders:
Project/input/entries.xml
Project/input/transformation.xsl
Project/output/booklet.pdf


I can express the location of the .xsl file in its 'sibling' relation to the .xml file as:
${cfd}/transformation.xsl

How can I express the location of the output .pdf file in its 'cousin' relation to the .xml file?

Re: URL variables

Posted: Wed Jun 21, 2023 1:54 pm
by Radu
Hi,
The transformation scenario edit dialog has an "Output" tab, why not use the same "${cfd}" editor variable in the "Save as" field there? Something like
"${cfd}/${cfn}.pdf" for example.

https://www.oxygenxml.com/doc/versions/ ... ables.html
Regards,
Radu

Re: URL variables

Posted: Fri Jun 23, 2023 6:37 pm
by TMiles
Thank you for your suggestion.

My solution has been to create formal projects and set the output destination as:
${pd}/online/concepts.html