2004-03-15 21:51:14 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
|
|
|
|
<xsl:template match="logfile">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="logfile.css" type="text/css" />
|
|
|
|
<title>Log File</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="nest">
|
|
|
|
<div class='nesting'>
|
|
|
|
<div class='head'>
|
2004-03-16 12:47:09 +00:00
|
|
|
<xsl:apply-templates select='head'/>
|
2004-03-15 21:51:14 +00:00
|
|
|
</div>
|
|
|
|
<blockquote class='body'>
|
|
|
|
<xsl:for-each select='line|nest'>
|
|
|
|
<xsl:if test="position() != last()">
|
2004-03-18 13:04:05 +00:00
|
|
|
<div class='line'>
|
|
|
|
<span class='lineconn' />
|
|
|
|
<span class='linebody'>
|
|
|
|
<xsl:apply-templates select='.'/>
|
|
|
|
</span>
|
|
|
|
</div>
|
2004-03-15 21:51:14 +00:00
|
|
|
</xsl:if>
|
|
|
|
<xsl:if test="position() = last()">
|
2004-03-18 13:04:05 +00:00
|
|
|
<div class='lastline'>
|
|
|
|
<span class='lineconn' />
|
|
|
|
<span class='linebody'>
|
|
|
|
<xsl:apply-templates select='.'/>
|
|
|
|
</span>
|
|
|
|
</div>
|
2004-03-15 21:51:14 +00:00
|
|
|
</xsl:if>
|
|
|
|
</xsl:for-each>
|
|
|
|
</blockquote>
|
|
|
|
</div>
|
|
|
|
</xsl:template>
|
|
|
|
|
2004-03-16 12:47:09 +00:00
|
|
|
<xsl:template match="head|line">
|
|
|
|
<code>
|
|
|
|
<xsl:apply-templates/>
|
2004-03-15 21:51:14 +00:00
|
|
|
</code>
|
|
|
|
</xsl:template>
|
2004-03-16 12:47:09 +00:00
|
|
|
|
|
|
|
<xsl:template match="storeref">
|
|
|
|
<em class='storeref'>
|
2004-03-17 16:52:48 +00:00
|
|
|
<span class='popup'><xsl:apply-templates/></span>
|
|
|
|
<span class='elided'>/...</span><xsl:apply-templates select='name'/><xsl:apply-templates select='path'/>
|
2004-03-16 12:47:09 +00:00
|
|
|
</em>
|
|
|
|
</xsl:template>
|
2004-03-15 21:51:14 +00:00
|
|
|
|
|
|
|
</xsl:stylesheet>
|