From: Jirka Kosek <jirka@kosek.cz>
To: Stephan Wiesner <stephan@stephan-wiesner.de>
CC: docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: Goal and Conclusion Tags
Date: Sun, 22 Sep 2002 11:33:07 +0200
Stephan Wiesner wrote:
This is clearly a solution, though I loose the logical meaning. I like
to use style sheets that can generate documents with 'only exercises' or
'only solutions' or 'whole document 'without annotations'. For this I
like to use special tags to mark my meaning.
You can use role attribute for distinguish normal section from goal,
e.g.
<section role="goal">
...
</section>
This allows you to process your document selectively and doesn't enforce
you to modify DocBook and stylesheets.
Well, whether he added special handling for 'goal' & 'conclusion', or just
special handling for 'role="goal"' and 'role="conclusion"', he'd still need
to supply a stylesheet wrapper to do anything special---it's just that the
document can still be valid and render reasonably if he uses 'role' instead
of adding his own new tags.