]> granicus.if.org Git - docbook-dsssl/commitdiff
Use graphics-file template to get graphic name
authorNorman Walsh <ndw@nwalsh.com>
Sun, 29 Dec 2002 14:56:08 +0000 (14:56 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 29 Dec 2002 14:56:08 +0000 (14:56 +0000)
slides/xsl/html/w3c.xsl

index 8777fd24fc444b6edbc46a792c1130cf40fbae09..1b31805a7225df6032bf6ac9a71a96cd285d1f23 100644 (file)
@@ -77,7 +77,9 @@
               <xsl:otherwise>
                 <img border="0" width="32" height="32" alt=" Previous" title="">
                   <xsl:attribute name="src">
-                    <xsl:call-template name="no.prev.image"/>
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$no.prev.image"/>
+                    </xsl:call-template>
                   </xsl:attribute>
                 </img>
               </xsl:otherwise>
                 <img border="0" width="32" height="32"
                      alt=" Contents" title="Table of Contents">
                   <xsl:attribute name="src">
-                    <xsl:call-template name="no.toc.image"/>
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$no.toc.image"/>
+                    </xsl:call-template>
                   </xsl:attribute>
                 </img>
               </xsl:otherwise>
               <xsl:otherwise>
                 <img border="0" width="32" height="32" alt=" Next" title="">
                   <xsl:attribute name="src">
-                    <xsl:call-template name="no.next.image"/>
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$no.next.image"/>
+                    </xsl:call-template>
                   </xsl:attribute>
                 </img>
               </xsl:otherwise>
               <xsl:otherwise>
                 <img border="0" width="32" height="32" alt=" Next" title="">
                   <xsl:attribute name="src">
-                    <xsl:call-template name="no.next.image"/>
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$no.next.image"/>
+                    </xsl:call-template>
                   </xsl:attribute>
                 </img>
               </xsl:otherwise>
               <xsl:otherwise>
                 <img border="0" width="32" height="32" alt=" Previous" title="">
                   <xsl:attribute name="src">
-                    <xsl:call-template name="no.prev.image"/>
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$no.prev.image"/>
+                    </xsl:call-template>
                   </xsl:attribute>
                 </img>
               </xsl:otherwise>
                 <img border="0" width="32" height="32"
                      alt=" Contents" title="Table of Contents">
                   <xsl:attribute name="src">
-                    <xsl:call-template name="no.toc.image"/>
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$no.toc.image"/>
+                    </xsl:call-template>
                   </xsl:attribute>
                 </img>
               </xsl:otherwise>
               <xsl:otherwise>
                 <img border="0" width="32" height="32" alt=" Next" title="">
                   <xsl:attribute name="src">
-                    <xsl:call-template name="no.next.image"/>
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$no.next.image"/>
+                    </xsl:call-template>
                   </xsl:attribute>
                 </img>
               </xsl:otherwise>