Ticket #496 (closed enhancement: fixed)
XHTML for exercise elements
Description
I used the default XSLT in JOMDoc to render an exercise element (jomdoc transform -X exam08.omdoc > exam08.xhtml)
The below extract of the input document exam08
<tgroup layout="section">
<metadata>
<dc:title>Graphs</dc:title>
</metadata>
<exercise xml:id="..." ic="points=5,minutes=15">
<metadata>
<dc:title>The graph 1 problem</dc:title>
</metadata>
<CMP>This problem on graphs is very easy.</CMP>
</exercise>
</tgroup>
was transformed to
<div class="omdoc-tgroup">
<h2>1. Graphs</h2>
<div class="omdoc-exercise" id="...">
<span class="omdoc-titleword">Exercise</span>
<p>This problem on graphs is very easy.</p>
</div>
</div>
It would be great, if the title of the exercise would also be preserved. Would this be hard to do?
Many thanks in advance!
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

