<?xml version="1.0" encoding="utf-8"?>
<!--Raymond Yee (yee@uclink.berkeley.edu) , Interactive University, University of California, Berkeley 2004-08-30 -->
<!-- trick from http://www.mycgiserver.com/~~lisali/papers/paper.htm -->
<!DOCTYPE stylesheet [
<!ENTITY nbsp "<xsl:text disable-output-escaping="yes"
xmlns:xsl= "http://www.w3.org/1999/XSL/Transform "
>&nbsp;</xsl:text>">
<!-- white space in XSL -->
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<!--xsl:output hint from http://www.objectsbydesign.com/projects/xslt/xhtml.html#faq1 to generate XHTML -->
<xsl:output method="xml" indent="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" media-type="application/xhtml+xml"/>
<!-- root template -->
<xsl:template match="SBCollection">
<xsl:apply-templates select="Collection"/>
</xsl:template>
<!--Collection -->
<xsl:template match="Collection">
<xsl:element name="html" namespace="http://www.w3.org/1999/xhtml">
<xsl:attribute name="xml:lang">en</xsl:attribute>
<xsl:attribute name="lang">en</xsl:attribute>
<head>
<title>
<xsl:value-of select="normalize-space(Title)"/>
</title>
</head>
<body>
<xsl:apply-templates select="Items"/>
</body>
</xsl:element>
</xsl:template>
<!--Items-->
<xsl:template match="Items">
<ol>
<xsl:apply-templates select="Item"/>
</ol>
</xsl:template>
<!--Item-->
<xsl:template match="Item">
<li>
<img>
<xsl:attribute name="src"><xsl:value-of select="normalize-space(SmallImage)"/></xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="normalize-space(Title)"/></xsl:attribute>
</img>
<xsl:element name="a"><xsl:attribute name="href"><xsl:value-of select="normalize-space(Identifier)"/></xsl:attribute><xsl:value-of select="Title"/></xsl:element>
</li>
</xsl:template>
<!--Details -->
<xsl:template match="Details">
<a>
<xsl:attribute name="href"><xsl:value-of select="normalize-space(@url)"/></xsl:attribute>
<xsl:value-of select="ProductName"/>
</a>
<br/>
</xsl:template>
</xsl:stylesheet>
