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] Profiling NOT condition


Hi Matteo,

On Tue, 6 Oct 2015 15:36:53 +0200
Matteo Regazzo <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


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