This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] Profiling conditions


Johannes Paul wrote:

So I'm trying to use profiling conditions. My question is if there is a way
to set a profile condition stating something like
condition=">v4.0" ?

Stylesheets doesn't support this by default as there are many numbering scenarios in use.


If you know your numbering scheme you can customize profiling template in profiling/profile-mode.xsl.

Otherwise I would state condition="v4.0;v4.1;v4.2"
and condition="v3.5;v4.0;v4.1;v4.2"
and condition="v4.2"
and later when we add a version 5.0, I would have to add v5.0 in all these
profiling conditions.

Yes, this will work out-of-the-box.


--
------------------------------------------------------------------
  Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
  Profesionální školení a poradenství v oblasti technologií XML.
        DocBook 18.-19.5.                 XSLT 24.-26.5.
        XML pro vývojáře 7.-8.6.          XSL-FO 16.6.
------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]