Page 1 of 1

Can't locate configuration of temporary _xslt file

Posted: Wed Oct 02, 2013 11:10 am
by oyvindlg
I have a network folder with read only access.
So I get the following message.

Where in the configuration do I change the location of the _xslt file?

I tried googling and searching through the documentation/forum without any luck.

System ID: Y:\0\oyvind\make_legend.xsl
Scenario: Legend
XML file: Y:\0\All.xml
XSL file: Y:\0\oyvind\make_legend.xsl
Engine name: Saxon-EE 9.5.0.2
Severity: fatal
Description: Failure writing to file:/Y:/0/All.xml_xslt: Y:\0\All.xml_xslt (Access is denied)
Start location: 17:0

Re: Can't locate configuration of temporary _xslt file

Posted: Wed Oct 02, 2013 1:07 pm
by oyvindlg
I found it at Settings -> XML -> XSLT-FO-XQUERY -> "Create Transformation temporary files in system temporary directory" Checkbox

Re: Can't locate configuration of temporary _xslt file

Posted: Wed Oct 02, 2013 1:10 pm
by adrian
Hi,

Unfortunately you can't change the location of the temporary _xslt file, it's created in the parent directory of the current edited file. From what I've tested setting the output file doesn't help with this either. I've logged an issue to use the directory of the output file when specified.

Possible workarounds:
1. Configure the transformation scenario with clearly specified values for the XML URL and XSL URL fields (replace the ${currentFileURL} with the appropriate XML/XSL file URL). Open an XML or XSL file (depending on the type of the scenario you've configured) from a directory where you have write access and run the transformation from the Configure Transformation Scenario(s) dialog or the Transformation Scenarios view.

or

2. Copy the files locally to a folder with write access and run the transformation on the copied files.

Regards,
Adrian

Re: Can't locate configuration of temporary _xslt file

Posted: Wed Oct 02, 2013 1:16 pm
by adrian
oyvindlg wrote:I found it at Settings -> XML -> XSLT-FO-XQUERY -> "Create Transformation temporary files in system temporary directory" Checkbox
You are right, that option forces the _xslt temporary files to be created in the system TEMP folder.

Regards,
Adrian