OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Order of precedence: command line parameters vs. stylesheet


Yes, command line parameters have greater precedence compared to stylesheet settings.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- From: "mike 675" <m_mclaug@yahoo.co.uk>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, October 17, 2011 2:51 AM
Subject: [docbook-apps] Order of precedence: command line parameters vs. stylesheet



What is the order of precedence for command line parameters vs. parameters in
a customization layer?

For example, suppose I have a customization layer mydocbook.xsl that imports
the standard DocBook stylesheets, then adds some customizations.

Do command line parameters have greater precedence compared to stylesheet
settings.
For example, in the following command, the admon.graphics setting from the
command line will override any settings in the stylesheet.

xsltproc  --output myfile.html  \
 --stringparam  admon.graphics 1 \
 mydocbook.xsl  myfile.xml

--
View this message in context: http://old.nabble.com/Order-of-precedence%3A-command-line-parameters-vs.-stylesheet-tp32665728p32665728.html
Sent from the docbook apps mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]