Changes to introspection generation to remove DOCTYPE and XML
authorMark Doffman <mdoff@silver-wind.(none)>
Wed, 14 May 2008 13:16:21 +0000 (14:16 +0100)
committerMark Doffman <mdoff@silver-wind.(none)>
Fri, 16 May 2008 15:11:39 +0000 (16:11 +0100)
declarations from the generated files.

tools/spec-to-introspect.xsl

index 8095723..ccd06aa 100644 (file)
@@ -27,9 +27,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
   exclude-result-prefixes="tp">
 
-<xsl:template match="node">
-<xsl:apply-templates/>
-</xsl:template>
+  <xsl:template match="node">
+    <xsl:apply-templates/>
+  </xsl:template>
+
   <xsl:template match="*">
     <xsl:copy>
       <xsl:for-each select="@*">
@@ -45,9 +46,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   <xsl:template match="text()"/>
 
   <xsl:output method="xml" indent="yes" encoding="UTF-8"
-    omit-xml-declaration="no"
-    doctype-system="http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
-    doctype-public="-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" />
+    omit-xml-declaration="yes"/>
 
 </xsl:stylesheet>