<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  exclude-result-prefixes="xhtml">
<xsl:output omit-xml-declaration="yes" method="xml"/>

<xsl:template match="video_list">
			<ul id="video_list">
				<xsl:apply-templates select="video">
				</xsl:apply-templates>
			</ul>
</xsl:template>

<xsl:template match="video">
	<li>
		<a>
		<xsl:attribute name="href">
		<xsl:value-of select="url" />
		</xsl:attribute>
		<img alt="">
			<xsl:attribute name="src">
				<xsl:value-of select="thumbnail_url" />
			</xsl:attribute>
		</img>
		<xsl:value-of select="title" />
		</a>
		<xsl:text> (tags: </xsl:text>
		<xsl:value-of select="tags" />
		<xsl:text>)</xsl:text>
	</li>
</xsl:template>

<xsl:template match="text()"/>

</xsl:stylesheet>