Unset a transform parameter in a scenario

Hi, In a transform scenario, it does not seem to be possible to unset a parameter once it has been set. If I change its value and delete all the content, it will still be set, to the empty string. This is unconvenient; for instance if the parameter has a default value, there no way to revert to this default value but to exit oXygen, open the project file by hand, locate the right scenario, delete the parameter from the file and start oXygen again. Did I miss something? Regards, -- Florent Georges http://www.fgeorges.org/

Hello, You missed the Disable button which reverts the XSLT parameter to the default value set in the stylesheet. Regards, Sorin Florent Georges wrote:
Hi,
In a transform scenario, it does not seem to be possible to unset a parameter once it has been set. If I change its value and delete all the content, it will still be set, to the empty string.
This is unconvenient; for instance if the parameter has a default value, there no way to revert to this default value but to exit oXygen, open the project file by hand, locate the right scenario, delete the parameter from the file and start oXygen again.
Did I miss something?
Regards,

Sorin Ristache wrote:
You missed the Disable button which reverts the XSLT parameter to the default value set in the stylesheet.
Thanks Sorin. Unfortunately this button is disabled (in light grey, cannot push it.) Do you know why it could be? Regards, -- Florent Georges http://www.fgeorges.org/

The Disable button is enabled only for parameters declared in the XSLT stylesheet and edited (with the Edit button) in the transformation scenario. For parameters not declared in the stylesheet but added manually in the scenario (needed when the same scenario is associated to other stylesheets) use the buttons Add and Remove. http://www.oxygenxml.com/doc/ug-oxygen/defining-new-transformation-scenario.... Regards, Sorin Florent Georges wrote:
Sorin Ristache wrote:
You missed the Disable button which reverts the XSLT parameter to the default value set in the stylesheet.
Thanks Sorin. Unfortunately this button is disabled (in light grey, cannot push it.) Do you know why it could be?
Regards,
participants (2)
-
Florent Georges
-
Sorin Ristache