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: ji...@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 ------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature