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_s...@web.de> wrote:

> Hi Matteo,
>
> On Tue, 6 Oct 2015 15:36:53 +0200
> Matteo Regazzo <matteo.rega...@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-unsubscr...@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
>
>

Reply via email to