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: [EMAIL PROTECTED] 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 ------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature