Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi Folks,
I have a datamerge setup that requires an XSL to structure the result set. Currently the path must be hard coded to something like C:/DataMerge/Transform.xsl for it to work. I would like to keep the XSL file within the custom folder structure in Arbortext - so is ther a way to use a system variable instead? Does anyone know of some tricks?
<TransformerRef name="t1" nameref="XSLTransformer">
<ResourceEventListenerRef name="logger" nameref="DefaultResourceEventListener">
</ResourceEventListenerRef>
<ParameterRef name="p_stylesheet" nameref="stylesheet">
<Value>C:/DataMerge/Tranform.xsl</Value> <<-- Currently the only way to make this work
<Value>%ARBORTEXT_HOME%/custom/datamerge/Tranform.xsl</Value> <<-- Ideally we would like this to work
</ParameterRef>
Thanks in advance for any suggestions,
Solved! Go to Solution.
No, it is not possible
The XSLT path must be absolute, or relative to the working directory of Arbortext Editor at the time it started up.
No, it is not possible
The XSLT path must be absolute, or relative to the working directory of Arbortext Editor at the time it started up.
Thanks, That is what I was afraid of. When we tried the relative location, the relative directory was in the C:\Users\All Users area which is not too helpful either.
Ideally we would be able to point to the install location.
Anyway, you have answered the question which I appreciate.
Thanks,
Rob.