Fixed bug [ 1292052 ] acronym/remark in qandaentry/question TOC.
authorBob Stayton <bobs@sagehill.net>
Sun, 25 Sep 2005 20:36:07 +0000 (20:36 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 25 Sep 2005 20:36:07 +0000 (20:36 +0000)
xsl/html/qandaset.xsl

index 6fb459b06c5ce3482e13f9424e69197fee9aab9b..1930fdba28f369a141b602f1b82ea04bf2598fe1 100644 (file)
 </xsl:template>
 
 <xsl:template match="question" mode="qandatoc.mode">
-  <xsl:variable name="firstch" select="(*[name(.)!='label'])[1]"/>
+  <xsl:variable name="firstch">
+    <xsl:apply-templates select="(*[name(.)!='label'])[1]"/>
+  </xsl:variable>
   <xsl:variable name="deflabel">
     <xsl:choose>
       <xsl:when test="ancestor-or-self::*[@defaultlabel]">