import order for docbook parameters: who wins?

When you configure a docbook transformation, you can use the Parameters dialog to set the values for a parameter. Or you can set it in a customization layer in C:\Program Files\Oxygen XML Author 16\frameworks\docbook\xsl\fo\docbook_custom.xsl My question is: which takes precedence? Can I assume that the values in docbook_custom.xsl will always override a value in the parameter dialogue box? Suppose the default value for some parameter value is "no" but I use the parameter dialog to change it to "yes", At the same time in docbook_custom.xsl I hard code it to "no". Who wins? -- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (Cell) 832-251-7522 Carbon Neutral Since Jan 2010

If in the XSLT they are coded as xsl:param, then any default will be overridden by parameters specified at runtime. If in the XSLT they are code as xsl:variable then they cannot be overridden at runtime. Cheers, Eliot ————— Eliot Kimber, Owner Contrext, LLC http://contrext.com On 8/11/14, 4:23 PM, "Robert Nagle" <idiotprogrammer@gmail.com> wrote:
When you configure a docbook transformation, you can use the Parameters dialog to set the values for a parameter.
Or you can set it in a customization layer in C:\Program Files\Oxygen XML Author 16\frameworks\docbook\xsl\fo\docbook_custom.xsl
My question is: which takes precedence? Can I assume that the values in docbook_custom.xsl will always override a value in the parameter dialogue box?
Suppose the default value for some parameter value is "no" but I use the parameter dialog to change it to "yes", At the same time in docbook_custom.xsl I hard code it to "no".
Who wins?
-- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (Cell) 832-251-7522 <tel:832-251-7522> Carbon Neutral Since Jan 2010
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Robert, The external parameters specified in Oxygen's parameters dialog are the most important and overwrite anything else. If a parameter is not specified in Oxygen's parameters dialog then the XSLT processor will take it from the stylesheet which has more precedence (meaning from "docbook_custom.xsl"). Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 8/11/2014 11:23 PM, Robert Nagle wrote:
When you configure a docbook transformation, you can use the Parameters dialog to set the values for a parameter.
Or you can set it in a customization layer in C:\Program Files\Oxygen XML Author 16\frameworks\docbook\xsl\fo\docbook_custom.xsl
My question is: which takes precedence? Can I assume that the values in docbook_custom.xsl will always override a value in the parameter dialogue box?
Suppose the default value for some parameter value is "no" but I use the parameter dialog to change it to "yes", At the same time in docbook_custom.xsl I hard code it to "no".
Who wins? -- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (Cell) 832-251-7522 <tel:832-251-7522> Carbon Neutral Since Jan 2010
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
Eliot Kimber
-
Radu Coravu
-
Robert Nagle