diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-03-16T12·47+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-03-16T12·47+0000 |
commit | b5539e7a30da963af3e5967e2af2524a5e99efbb (patch) | |
tree | 2ef96ba10653d5582040312b543ec11c3075dad3 /src/log2xml/log2html.xsl | |
parent | 9d2669d218d03d64c69a702a96fc87ee1fd3a9d0 (diff) |
* Store paths are now abbreviated in the generated HTML file.
Hovering over the abbreviated path will reveal the full path. This probably only works in Mozilla.
Diffstat (limited to 'src/log2xml/log2html.xsl')
-rw-r--r-- | src/log2xml/log2html.xsl | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/log2xml/log2html.xsl b/src/log2xml/log2html.xsl index 96691a6aefd7..be4af66ce3c7 100644 --- a/src/log2xml/log2html.xsl +++ b/src/log2xml/log2html.xsl @@ -17,9 +17,7 @@ <xsl:template match="nest"> <div class='nesting'> <div class='head'> - <code> - <xsl:value-of select="head"/> - </code> + <xsl:apply-templates select='head'/> </div> <blockquote class='body'> <xsl:for-each select='line|nest'> @@ -52,10 +50,17 @@ </div> </xsl:template> - <xsl:template match="line"> - <code class='line'> - <xsl:value-of select="."/> + <xsl:template match="head|line"> + <code> + <xsl:apply-templates/> </code> </xsl:template> + + <xsl:template match="storeref"> + <em class='storeref'> + <span class='z'><span class='popup'><xsl:apply-templates/></span></span> + <span class='elided'>(...)</span><xsl:apply-templates select='name'/><xsl:apply-templates select='path'/> + </em> + </xsl:template> </xsl:stylesheet> \ No newline at end of file |