[Laszlo-checkins] r6773 - openlaszlo/branches/paperpie/docs/src/xsl

ben@openlaszlo.org ben at openlaszlo.org
Tue Oct 9 16:14:55 PDT 2007


Author: ben
Date: 2007-10-09 16:14:55 -0700 (Tue, 09 Oct 2007)
New Revision: 6773

Modified:
   openlaszlo/branches/paperpie/docs/src/xsl/js2doc2dbk.xsl
Log:
list member attributes, events, methods in alphabetical order.

Modified: openlaszlo/branches/paperpie/docs/src/xsl/js2doc2dbk.xsl
===================================================================
--- openlaszlo/branches/paperpie/docs/src/xsl/js2doc2dbk.xsl	2007-10-09 22:56:46 UTC (rev 6772)
+++ openlaszlo/branches/paperpie/docs/src/xsl/js2doc2dbk.xsl	2007-10-09 23:14:55 UTC (rev 6773)
@@ -759,12 +759,15 @@
         </title>
         <para>
           <xsl:variable name="inheritedattrs" select="$superclass/class/property[@name='__ivars__']/object/property[@access='public']"></xsl:variable>
-          <xsl:variable name="initargs" select="$superclass/class/initarg[@access='public']"></xsl:variable>                                      
-          <xsl:for-each select="$inheritedattrs">     
+          <xsl:variable name="initargs" select="$superclass/class/initarg[@access='public']"></xsl:variable>
+          <xsl:variable name="allinheritedattrs" select="$inheritedattrs | $initargs" />
+          <xsl:for-each select="$allinheritedattrs">
+            <xsl:sort select="@name"/>            
             <link linkend="{@id}"><xsl:value-of select="@name"/></link>
             <xsl:text>, </xsl:text>
           </xsl:for-each>
           <xsl:for-each select="$initargs">     
+            <xsl:sort select="@name"/>            
             <link linkend="{@id}"><xsl:value-of select="@name"/></link>
             <xsl:text>, </xsl:text>
           </xsl:for-each>                               
@@ -805,6 +808,7 @@
         </title>
         <para>
           <xsl:for-each select="$inheritedmethods">
+            <xsl:sort select="../@name"/>            
             <link linkend="{../@id}"><xsl:value-of select="../@name"/></link>
             <xsl:text>, </xsl:text>
           </xsl:for-each>
@@ -846,6 +850,7 @@
         </title>
         <para>
           <xsl:for-each select="$inheritedevents">
+            <xsl:sort select="@name" />
             <link linkend="{@id}"><xsl:value-of select="@name"/></link>
             <xsl:text>, </xsl:text>
           </xsl:for-each>



More information about the Laszlo-checkins mailing list