<?xml version="1.0" encoding="GB2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration = "yes" indent="yes" version="4.0"/>
	<!--
	Copyright (C) 2007,2008 NewAsp.Net. All rights reserved.
	Written by newasp.net Sunwin
	-->
<xsl:template match="/">
	<xsl:choose>
		<xsl:when test="/xml/@islogo=0"><xsl:call-template name="friendTextlist"/></xsl:when>
		<xsl:otherwise><xsl:call-template name="friendLogolist"/></xsl:otherwise>
	</xsl:choose>
</xsl:template>
<xsl:template name="friendTextlist">
	<xsl:for-each select="xml/datalist/row">
		<dd style="{@linewidth}"><a href="{@link}" target="_blank" title="{@readme}"><xsl:value-of select="@title"/></a></dd>
	</xsl:for-each>
</xsl:template>
<xsl:template name="friendLogolist">
	<xsl:for-each select="xml/datalist/row">
		<span style="{@linewidth}"><a href="{@link}" target="_blank" title="{@readme}"><img src="{@logourl}" width="88" height="31" border="0" /></a></span>
	</xsl:for-each>
</xsl:template>
</xsl:stylesheet>