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] Suppressing toc entries based on role attribute


elizabethw wrote:
> I wish to generate two slightly different sets of documentation from the same
> DocBook XML. I thought I'd achieved this by setting the role attribute on
> affected elements, eg:
> 
> <sect2 role="not_doc_a" id="something">
> ...content...
> </sect2>
> 
> and having two local stylesheets, one which ignores elements with the role
> not_doc_a and one which ignores elements with the role not_doc_b.

Why you are not using profiling?

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

-- 
------------------------------------------------------------------
   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 member
------------------------------------------------------------------

OpenPGP digital signature



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