Hi, I used to have exercise and solution elements in with a DTD we
developed at my university for Tutorials.
I could write an exercise with or without solution as well as some
exercises with the same solution. I then developed a style sheet to
create documents with the exercises displayed in the text flow and the
solutions at the end (both linked), or not at all, depending on the
purpose.
Here is an example:
<exercise id="c12E2" solution="c12E2S" alt="Understand what
DoucmentRoot is for Tomcat"><p>
Take a look at the created file Sample.xml. What do you see? Any
idea what
happened? Take a look at the Java API to see how it is supposed to
look.
</p></exercise>
<solution id="c12E2S" exercise="c12E2"><p>
A hint: Take a look at the output generated by Tomcat. Why do you
think
does that error message appear?
</p></solution>
Stephan
> -----Original Message-----
> From: Norman Walsh [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 11. Oktober 2002 17:06
> To: Joachim Ziegler
> Cc: [EMAIL PROTECTED]; DocBook
> Subject: DOCBOOK: Re: Markup for exercises
>
> So far, we have requests for markup for exercises. Is other
> markup required, or is DocBook perfect except that it lacks
> and <exercise> element?
>
> What are the functional requirements for the exercise
> element? How do you want to be able to style it?
>
> Be seeing you,
> norm
>
>