1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-15 04:08:06 -04:00
icecast-server/web/uptime_xml.xsl
Karl Heyes 7e0e691777 xsl page changes by Dave St John
svn path=/icecast/branches/kh/icecast/; revision=9725
2005-08-10 20:48:10 +00:00

13 lines
562 B
XML

<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
<xsl:output omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" />
<xsl:template match = "/icestats" >
<xsl:for-each select="/icestats">
<xsl:for-each select="server_start">
<xsl:if test = "name()!='source'">
<UPTIME><xsl:value-of select="." /></UPTIME>
</xsl:if>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>