summaryrefslogtreecommitdiffstats
path: root/avahi-daemon
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-08 17:32:25 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-08 17:32:25 +0000
commit9ad2a95c80ab0f9cf48d3f58e9a7ed6f06685c34 (patch)
tree2db6a9e1969ca9e9cb916759c0c7e8f15cf8dbdc /avahi-daemon
parent0556d428a56bdc4dac52d6eed2c515e66958094e (diff)
* documentation update
* embed CSS data in xmltoman.xsl git-svn-id: file:///home/lennart/svn/public/avahi/trunk@274 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon')
-rw-r--r--avahi-daemon/introspect.xsl97
1 files changed, 57 insertions, 40 deletions
diff --git a/avahi-daemon/introspect.xsl b/avahi-daemon/introspect.xsl
index 38b443c..32a371c 100644
--- a/avahi-daemon/introspect.xsl
+++ b/avahi-daemon/introspect.xsl
@@ -1,35 +1,52 @@
<?xml version="1.0" encoding="iso-8859-15"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<!--
+ This file is part of avahi.
- <!-- $Id$ -->
+ avahi is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your
+ option) any later version.
- <xsl:output method="xml" version="1.0" encoding="iso-8859-15" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" indent="yes"/>
+ avahi is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
- <xsl:template match="/">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>DBUS Introspection data</title>
- <style type="text/css">
- body { color: black; background-color: white }
- h1 { font-family: sans-serif }
- ul { list-style-type: none; margin-bottom: 10px }
- li { font-family: sans-serif }
- .keyword { font-style: italic }
- .type { font-weight: bold }
- .symbol { font-family: monospace }
- .interface { padding: 10px; margin: 10px }
- </style>
- </head>
- <body>
- <xsl:for-each select="node/interface">
- <div class="interface">
- <h1>
- <span class="keyword">interface</span><xsl:text> </xsl:text>
- <span class="symbol"><xsl:value-of select="@name"/></span>
- </h1>
-
- <ul>
+ You should have received a copy of the GNU General Public License
+ along with avahi; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+-->
+
+<!-- $Id$ -->
+
+<xsl:output method="xml" version="1.0" encoding="iso-8859-15" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes"/>
+
+<xsl:template match="/">
+ <html>
+ <head>
+ <title>DBUS Introspection data</title>
+ <style type="text/css">
+ body { color: black; background-color: white }
+ h1 { font-family: sans-serif }
+ ul { list-style-type: none; margin-bottom: 10px }
+ li { font-family: sans-serif }
+ .keyword { font-style: italic }
+ .type { font-weight: bold }
+ .symbol { font-family: monospace }
+ .interface { padding: 10px; margin: 10px }
+ </style>
+ </head>
+ <body>
+ <xsl:for-each select="node/interface">
+ <div class="interface">
+ <h1>
+ <span class="keyword">interface</span><xsl:text> </xsl:text>
+ <span class="symbol"><xsl:value-of select="@name"/></span>
+ </h1>
+
+ <ul>
<xsl:apply-templates select="annotation"/>
@@ -68,20 +85,20 @@
</li>
</xsl:for-each>
- </ul>
- </div>
- </xsl:for-each>
- </body>
- </html>
- </xsl:template>
+ </ul>
+ </div>
+ </xsl:for-each>
+ </body>
+ </html>
+</xsl:template>
- <xsl:template match="annotation">
- <li xmlns="http://www.w3.org/1999/xhtml">
- <span class="keyword">annotation</span>
- <code><xsl:value-of select="@name"/></code><xsl:text> = </xsl:text>
- <code><xsl:value-of select="@value"/></code>
- </li>
- </xsl:template>
+<xsl:template match="annotation">
+ <li>
+ <span class="keyword">annotation</span>
+ <code><xsl:value-of select="@name"/></code><xsl:text> = </xsl:text>
+ <code><xsl:value-of select="@value"/></code>
+ </li>
+</xsl:template>
</xsl:stylesheet>