[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Profiling NOT condition
Bob Stayton Sagehill Enterprises bobs@sagehill.net On 10/6/2015 11:28 PM, Fekete, Róbert wrote:
I agree, it would be great to have a NOT condition for profiling. Another useful thing would be something like ELSE (that is, to mark some text that appears only if none of the conditions matched). Robert On Tue, Oct 6, 2015 at 3:57 PM, Thomas Schraitle <tom_schr@web.de <mailto:tom_schr@web.de>> wrote: Hi Matteo, On Tue, 6 Oct 2015 15:36:53 +0200 Matteo Regazzo <matteo.regazzo@cmz.it <mailto:matteo.regazzo@cmz.it>> wrote: > [...] > Does the DocBook include something like a "NOT" conditionfor the > profiling? Unfortunately, the profiling stylesheet doesn't support a NOT condition. It would be very convenient to have one. What you can do is to list all possible profiling attributes except the one which you want to exclude (that's your "not condition"). You can translate the "not condition" into this set of relationships: not Cond2 = Cond1 not Cond1 = Cond2 If you allow more than two values in your profiling attribute, you have to list *all* your possible values, except the excluded one: not Cond1 = Cond2;Cond3;Cond4;... Hope this helps. -- Gruß/Regards, Thomas Schraitle --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org <mailto:docbook-apps-unsubscribe@lists.oasis-open.org> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org <mailto:docbook-apps-help@lists.oasis-open.org>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]