Next in thread → Next in month →

Re: [docbook-apps] Suppressing toc entries based on role attribute

From
Jirka Kosek <>
Date
2008-03-10T17:22:31+00:00
ID
Thread
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:       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
------------------------------------------------------------------
Next in thread → Next in month →