Page 1 of 1

how to set the parameters for XSL

Posted: Fri Aug 27, 2010 4:56 pm
by himanshu
Hi,
I found oxygen very useful when I have an XML file and I've to render it through my XSL file.
However, as per my current requirement, I have an XSL File in which there are many parameters that I set through my java code that includes my XML file also and then my XSL render it. Now to check the functionality of my XSL file I don't want to run the entire java code. Is there anyway in oxygen to set the parameters and then to execute the XSL? If yes from where could i set the parameters.(i read some manuals and i felt that its possible, however, I couldn't find how could i do that) :(
please advise.

Re: how to set the parameters for XSL

Posted: Fri Aug 27, 2010 5:16 pm
by adrian
Hello,

If you use a transformation scenario you can set the stylesheet parameters in the scenario itself. Create/Edit your scenario(Document -> Transformation -> Configure Transformation Scenario, New/Edit) and in the XSLT tab press on the "Parameters" button. The "Configure parameters" will be displayed and you can add the parameters you need.

If you are using the stylesheet in the XSLT Debugger you can configure the stylesheet parameters from the "Configure parameters" toolbar button(a wrench and a cog). The same "Configure parameters" dialog will be displayed.

Regards,
Adrian