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


Hi Matteo,
DocBook uses the term "profiling" to describe the process of filtering out certain elements based on attribute values. The DocBook schema provides several common attributes for that purpose, but as you discovered, @status is not "common" enough.

The list of profiling attributes is described here:

http://www.sagehill.net/docbookxsl/Profiling.html

I might suggest @condition, which is a general purpose profiling attribute that you can adapt to your needs.

BTW, you don't need a customization to implement profiling. The DocBook XSL distribution can profile just by setting values for the profiling parameters associated with the profiling attributes. That's all described in the doc reference above.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

On 6/17/2014 8:16 AM, Matteo Regazzo wrote:
Hi everybody,

I'm facing a problem with a customization... I want to inhibit the
presence of some object (such as rows, para, ...) in the generation of a
PDF document, and I was expecting that I could use the /_status="draft"
_/attribute, but it doesn't work.
I've discovered that from DocBook 4.5 it doesn't work as a common
attribute, but only for "book, chapter, ..." (maybe I can say only for
"macro"elements).
Which attribute may I use to obtain the same result? Or what else can I do?

Thank you since now,
Matteo R.



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