I swear these templates are going to be the death of me. I've created a site collection based on the the employee training template, made all the modifications in the series http://www.sharepointblogs.com/dez/archive/2007/09/19/employee-training-and-scheduling-template-a-couple-fixes-part-2.aspx as well as what I've blogged about on my blog.
One change We made to this was move all the my courses onto a new page as not to clutter the main page. In the linked page above it describes how to fix the XSLT so it creates the proper parameter value for unregistration. I've redone the a href so it points to the correct list now but it still isn't calculating the correct query string parameter to the registration list.
<td class="ms-vb">
<xsl:variable name="CourseID" select="@ID"/>
a href="../Lists/Registrations/Unregister.aspx?ID={../../../Registrations/Rows/Row[@Course_x0020_ID=$CourseID and contains(@Author, $UserID)]/@ID}"Remove
</td>
Anyone see what is funny with this?
edit: took off the <> on the a href as it was breaking the display.