Next in thread → Next in month →

Re: [docbook] Profiling question

From
Jirka Kosek <>
Date
2006-11-13T15:15:33+00:00
ID
Thread
Re: [docbook] Profiling question
Joerg Kaufmann wrote:
> Hello, can anybody tell me a way to do an 'inverse' condition in docbook. I
> would like to add a para in all documents except a single one. The only way
> I know is to do something like <para condition="c1;c3;c4;...c10"> but I
> would prefer to use something like <para not-condition="c2">, because else I
> would have to update the conditions in the document each time I add a new
> 'cN' to the list.

You can use <para condition="not.c2"> and then use 
profile.condition=not.c2. Just make sure that you never use both c2 and 
not.c2 as a value of profile.condition parameter.

			Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
      ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------
Next in thread → Next in month →