<xsl:when test=".[genre='Romance']">
^^
as the error message indicated you can not ever follow . by [ in
Xpath 1.
You want
<xsl:when test="genre='Romance'">
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list