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] Status attribute


On 24.6.2014 11:04, Matteo Regazzo wrote:
> Is it possible to have a status condition, in each element of the book,
> where the condition value depends on the status attribute of the book
> root element?

Yes, it's a bit of pitty that status is not allowed everywhere. I
usually extend DocBook schema to allow status attribute everywhere:

include "docbook.rnc"
{

# @status is allowed on all elements
db.effectivity.attributes &= attribute status { "draft" | "final" }?

# Status is part of effectivity attributes now
db.status.attribute = empty

}

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



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