]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/introspect.xsl
fix avahi_netlink_new to allow multiple netlinks per process
[catta] / avahi-daemon / introspect.xsl
index 206de577fb8cababc851ca07968f87eb412bb549..5d6856005b8497d6cc3ce2aca85cbf766e879770 100644 (file)
@@ -1,35 +1,50 @@
 <?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 { background: #efefef; 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. 
+-->
+
+<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"/> 
 
               </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>