- add a primitive XSL for displaying the ReactOS dependency map

svn path=/trunk/; revision=25458
This commit is contained in:
Johannes Anderwald 2007-01-14 20:41:01 +00:00
parent 6a1a30f13b
commit 8eb1ea4802

30
reactos/depmap.xsl Normal file
View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>ReactOS Dependency Map</title>
</head>
<body>
<h1>ReactOS Dependency Map</h1>
<table border="1">
<tr bgcolor="#9acd32">
<th align="left">Module Name</th>
<th align="left">Module Location</th>
<th align="left">Other Module Usage</th>
<th align="left">Module Re-Usage</th>
</tr>
<xsl:for-each select="components/component">
<tr>
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="base"/></td>
<td><xsl:value-of select="lib_count"/></td>
<td><xsl:value-of select="ref_count"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>