logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: cvs: php-gtk-doc /stylesheets/html sections.xsl: msg#00376

Subject: Re: cvs: php-gtk-doc /stylesheets/html sections.xsl
What double-id problem?

----- Original Message ----- From: "Christian Weiske" <cweiske@xxxxxxx>
To: <php-gtk-doc@xxxxxxxxxxxxx>
Sent: Thursday, April 13, 2006 8:48 PM
Subject: [PHP-GTK-DOC] cvs: php-gtk-doc /stylesheets/html sections.xsl


cweiske Thu Apr 13 18:48:59 2006 UTC

 Modified files:
   /php-gtk-doc/stylesheets/html sections.xsl
 Log:
 Fixing the double-id problem for sect-titles


http://cvs.php.net/viewcvs.cgi/php-gtk-doc/stylesheets/html/sections.xsl?r1=1.4&r2=1.5&diff_format=u
Index: php-gtk-doc/stylesheets/html/sections.xsl
diff -u php-gtk-doc/stylesheets/html/sections.xsl:1.4 php-gtk-doc/stylesheets/html/sections.xsl:1.5
--- php-gtk-doc/stylesheets/html/sections.xsl:1.4 Mon Apr 11 21:54:45 2005
+++ php-gtk-doc/stylesheets/html/sections.xsl Thu Apr 13 18:48:59 2006
@@ -3,7 +3,7 @@
                version='1.0'>

<!-- ********************************************************************
-     $Id: sections.xsl,v 1.4 2005/04/11 21:54:45 cweiske Exp $
+     $Id: sections.xsl,v 1.5 2006/04/13 18:48:59 cweiske Exp $
     ********************************************************************

     This file is part of the XSL DocBook Stylesheet distribution.
@@ -146,10 +146,16 @@
      </xsl:if>
    </xsl:if>
    <a>
-      <xsl:attribute name="name">
+      <xsl:variable name="id">
        <xsl:call-template name="object.id">
          <xsl:with-param name="object" select="$section"/>
        </xsl:call-template>
+      </xsl:variable>
+      <xsl:attribute name="name">
+       <xsl:value-of select="$id"/>
+      </xsl:attribute>
+      <xsl:attribute name="id">
+       <xsl:value-of select="concat($id,'-title')"/>
      </xsl:attribute>
    </a>
    <xsl:copy-of select="$title"/>

--
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


__________ NOD32 1.1380 (20060125) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



--
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>