Skip to main content
1-Visitor
January 24, 2013
Solved

Can I use a system variables to specify an XSL in a datamerge DMF file?

  • January 24, 2013
  • 1 reply
  • 1072 views

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,

    Best answer by Alessio

    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.

    1 reply

    Alessio15-MoonstoneAnswer
    15-Moonstone
    February 4, 2013

    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.

    1-Visitor
    February 4, 2013

    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.