Skip to content

Instantly share code, notes, and snippets.

@garex
garex / summary.xsl
Last active November 15, 2016 12:18
pdepend summary.xml to HTML xslt
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/metrics">
<html>
<body>
<style>
body { font-family: consolas; }
ul.methods { -webkit-column-count: 3; }
sup { margin: 0 0.2em; font-weight: normal; padding: 0.4em 0.3em; background: gainsboro; color: gray; }
.position-top-20 { color: red; }