]> granicus.if.org Git - docbook-dsssl/commitdiff
Added handling for refsee@role=tcg sections.
authorMichael Smith <xmldoc@users.sourceforge.net>
Sun, 22 Jul 2007 10:26:00 +0000 (10:26 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sun, 22 Jul 2007 10:26:00 +0000 (10:26 +0000)
xsl/tools/xsl/build/jref2refsect1.xsl

index 8c4b8be6009cf72f7a0458c90db4b210c7fa293c..3a528ca1d085de578d7d3ba99d948dd8f4e57b7c 100644 (file)
@@ -1,9 +1,10 @@
 <?xml version='1.0'?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:xi="http://www.w3.org/2001/XInclude"
-                xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
-                exclude-result-prefixes="xsl xi src"
-                version='1.0'>
+  xmlns:xi="http://www.w3.org/2001/XInclude"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+  exclude-result-prefixes="xsl xi src"
+  version='1.0'>
 
 <xsl:output method="xml" indent="no"/>
 
 
 <xsl:template match="refsee">
   <refsect1>
+    <xsl:copy-of select="@*"/>
     <xsl:choose>
       <xsl:when test="@role = 'params'">
         <title>Related Global Parameters</title>
       </xsl:when>
+      <xsl:when test="@role = 'tcg'">
+        <title>Related Information in <link
+            xlink:href="http://www.sagehill.net/docbookxsl/"
+            >DocBook XSL: The Complete Guide</link></title>
+      </xsl:when>
       <xsl:otherwise>
         <title>See</title>
       </xsl:otherwise>