<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" > <xsl:output omit-xml-declaration="no" method="html" indent="yes" encoding="UTF-8" /> <xsl:template match = "/icestats" > <xsl:for-each select="source"> <xsl:if test="artist"><xsl:value-of select="artist" /> - </xsl:if><xsl:value-of select="title" /> </xsl:for-each></xsl:template></xsl:stylesheet>