summaryrefslogtreecommitdiff
path: root/doc/spec2html.xslt
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2010-04-01 18:22:24 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2010-04-01 18:22:24 +0000
commit546c970638670b024539fcaebfca7a132a5bf084 (patch)
tree9676a0a90830e442b240bfbe62bb3a0eb5a3e60f /doc/spec2html.xslt
parentcba18e6fd6963dd26cba7a4bec1e2617b724d2ca (diff)
downloadebus-alt-546c970638670b024539fcaebfca7a132a5bf084.tar.gz
ebus-alt-546c970638670b024539fcaebfca7a132a5bf084.zip
up
git-svn-id: http://10.2.2.13/svn/common/ebus@1625 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'doc/spec2html.xslt')
-rw-r--r--doc/spec2html.xslt33
1 files changed, 20 insertions, 13 deletions
diff --git a/doc/spec2html.xslt b/doc/spec2html.xslt
index a18127e..b0b2728 100644
--- a/doc/spec2html.xslt
+++ b/doc/spec2html.xslt
@@ -1,14 +1,16 @@
-<?xml version="1.0"?>
-
+<?xml version="1.0" encoding="utf8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
+ </head>
<body>
<h2>Ebus Geräte</h2>
- <table border="1">
- <tr bgcolor="#9acd32">
+ <table class="ebus_devices">
+ <tr>
<th>Adresse</th>
<th>Gerät</th>
<th>Typ</th>
@@ -24,13 +26,14 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
</tr>
</xsl:for-each>
</table>
+
<h2>Ebus Packete</h2>
- <table border="1">
- <tr bgcolor="#9acd32">
+ <table class="ebus_packets">
+ <tr>
<th>Primary command</th>
<th>Secondary command</th>
- <th>Description</th>
- <th>Content</th>
+ <th>Beschreibung</th>
+ <th>Felder</th>
</tr>
<xsl:for-each select="ebus/packets/packet">
<tr>
@@ -38,16 +41,20 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<td><xsl:value-of select="@secondary"/></td>
<td><xsl:value-of select="@description"/></td>
<td>
- <xsl:for-each select="fields/*">
- <table>
- <tr><th>name</th><th>typ</th><th>offset</th></tr>
+ <table>
+ <tr>
+ <th>name</th>
+ <th>typ</th>
+ <th>offset</th>
+ </tr>
+ <xsl:for-each select="fields/*">
<tr>
<td><xsl:value-of select="@name"/></td>
<td><xsl:value-of select="name()"/></td>
<td><xsl:value-of select="@offset"/></td>
</tr>
- </table>
- </xsl:for-each>
+ </xsl:for-each>
+ </table>
</td>
</tr>
</xsl:for-each>