]> granicus.if.org Git - docbook-dsssl/commitdiff
No point keeping the XT files now that I'm using function-available
authorNorman Walsh <ndw@nwalsh.com>
Sat, 6 Oct 2001 21:03:19 +0000 (21:03 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sat, 6 Oct 2001 21:03:19 +0000 (21:03 +0000)
xsl/html/xtchunk.xsl [deleted file]
xsl/html/xtchunker.xsl [deleted file]

diff --git a/xsl/html/xtchunk.xsl b/xsl/html/xtchunk.xsl
deleted file mode 100644 (file)
index 15f249f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:xt="http://www.jclark.com/xt"
-                extension-element-prefixes="xt"
-               version="1.0">
-
-<xsl:import href="docbook.xsl"/>
-<xsl:include href="chunk-common.xsl"/>
-<xsl:include href="xtchunker.xsl"/>
-
-</xsl:stylesheet>
\ No newline at end of file
diff --git a/xsl/html/xtchunker.xsl b/xsl/html/xtchunker.xsl
deleted file mode 100644 (file)
index 62837df..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:xt="http://www.jclark.com/xt"
-                extension-element-prefixes="xt"
-               version="1.0">
-
-<!-- This stylesheet works with XT; for others use chunker.xsl -->
-
-<!-- ==================================================================== -->
-
-<xsl:template name="make-relative-filename">
-  <xsl:param name="base.dir" select="'./'"/>
-  <xsl:param name="base.name" select="''"/>
-
-  <!-- XT makes chunks relative -->
-  <xsl:choose>
-    <xsl:when test="count(parent::*) = 0">
-      <xsl:value-of select="concat($base.dir,$base.name)"/>
-    </xsl:when>
-    <xsl:otherwise>
-      <xsl:value-of select="$base.name"/>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template name="write.chunk">
-  <xsl:param name="filename" select="''"/>
-  <xsl:param name="method" select="'html'"/>
-  <xsl:param name="encoding" select="'ISO-8859-1'"/>
-  <xsl:param name="indent" select="'no'"/>
-  <xsl:param name="content" select="''"/>
-
-  <xsl:message>
-    <xsl:text>Writing </xsl:text>
-    <xsl:value-of select="$filename"/>
-    <xsl:if test="name(.) != ''">
-      <xsl:text> for </xsl:text>
-      <xsl:value-of select="name(.)"/>
-    </xsl:if>
-  </xsl:message>
-
-  <!-- apparently XT doesn't support AVTs for method and encoding -->
-  <xsl:choose>
-    <xsl:when test="$method = 'xml'">
-      <xt:document href="{$filename}"
-                   method="xml"
-                   indent="{$indent}"
-                   encoding="ISO-8859-1">
-        <xsl:copy-of select="$content"/>
-      </xt:document>
-    </xsl:when>
-    <xsl:when test="$method = 'text'">
-      <xt:document href="{$filename}"
-                   method="text"
-                   indent="{$indent}"
-                   encoding="ISO-8859-1">
-        <xsl:copy-of select="$content"/>
-      </xt:document>
-    </xsl:when>
-    <xsl:otherwise>
-      <xt:document href="{$filename}"
-                   method="html"
-                   indent="{$indent}"
-                   encoding="ISO-8859-1">
-        <xsl:copy-of select="$content"/>
-      </xt:document>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>