Similar complexity, but hidden in a taglib


<xsp:page language="Perl" 
 xmlns:xsp="http://apache.org/xsp/core/v1"
 xmlns:c="http://squash.oucs.ox.ac.uk/XSP/CourseBooking">
....
<table border="0">
<c:courses>
<row rend="class:dbbackground">
<cell><c:name/></cell><cell>Course date</cell> </row>

<row> <cell cols="3"><c:summary/></cell> </row>
 
<row><cell>Course skill level: <c:level/><lb/>

<xsp:element name="xref">
 <xsp:attribute name="url">prerequisites.xsp?code=<c:code/></xsp:attribute>
 Prequisites   </xsp:element>
<lb/>
<xsp:element name="xref">
 <xsp:attribute name="url">detail.xsp?code=<c:code/></xsp:attribute>
 Course Details   </xsp:element> 
   </cell>
<cell>
 <c:presentations>
 <list>
  <item>
     <c:first_session><c:date/></c:first_session>
  </item>
 </list>
  </c:presentations> 
</cell>
</row>
 </c:courses>
</table>

27 Next | First| Previous Practical XML under Apache