Thank you all,
I trust Bob when he says "It isn't that complicated", my problem is that
I'm not so smart/skilled with .xsl customization, but I have a good
friend that maybe knows how to do :-D
In any case, for now, I've solved my issue through the "condition"
generic attribute.
Thank you again,
Matteo
Il 07/10/2015 19:48, Bob Stayton ha scritto:
Take a look at the template with mode="profile" in
profiling/profile-mode.xsl. It isn't that complicated, and would be
pretty straightforward to customize to support the logic for a NOT or
ELSE option.
Bob Stayton
Sagehill Enterprises
b...@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_s...@web.de
<mailto:tom_s...@web.de>> wrote:
Hi Matteo,
On Tue, 6 Oct 2015 15:36:53 +0200
Matteo Regazzo <matteo.rega...@cmz.it
<mailto: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
<mailto:docbook-apps-unsubscr...@lists.oasis-open.org>
For additional commands, e-mail:
docbook-apps-h...@lists.oasis-open.org
<mailto:docbook-apps-h...@lists.oasis-open.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
--
/*Matteo Regazzo*/
*Technical writer*
CMZ Sistemi Elettronici S.r.l.
Società Unipersonale
Società soggetta ad attività di direzione e
coordinamento di C.M.Z. S.r.l. - controllante
Via dell'Artigianato, 21
I-31050 Vascon (TV)
Tel +39.0422.447411 - Fax +39.0422.447444
E-mail: matteo.rega...@cmz.it
/The information transmitted is only intended for the person or entity
to which it is addressed and may contain confidential and/or privileged
material.
Any review, re-transmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities
other than the intended recipient is prohibited.
If you receive this in error, please contact the sender and delete the
material from any computer./