- add a primitive XSL for displaying the ReactOS dependency map
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 14 Jan 2007 20:41:01 +0000 (20:41 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 14 Jan 2007 20:41:01 +0000 (20:41 +0000)
svn path=/trunk/; revision=25458

reactos/depmap.xsl [new file with mode: 0644]

diff --git a/reactos/depmap.xsl b/reactos/depmap.xsl
new file mode 100644 (file)
index 0000000..7184e45
--- /dev/null
@@ -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>