]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed problems with notifications generated when date found.
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 23 Mar 2006 18:14:39 +0000 (18:14 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 23 Mar 2006 18:14:39 +0000 (18:14 +0000)
xsl/common/refentry.xsl

index 3e45c8edac8952f95f61d01b4bdc025818f17000..987121aaca7a1196954e4c973746d468766f65c7 100644 (file)
           <!-- * look for date or pubdate in *info -->
           <xsl:when test="$info/date
                           |$info/pubdate">
-            <xsl:message>Note: Found date in</xsl:message>
-            <xsl:value-of select="$info"/>
+            <xsl:message
+                >Note: Found <xsl:value-of
+                select="local-name(($info/date|$info/pubdate)[1])"
+                /> in <xsl:value-of
+                select="local-name($info)"
+                /></xsl:message>
             <xsl:copy>
               <xsl:apply-templates
                   select="($info/date
           <!-- * look for date or pubdate in parentinfo -->
           <xsl:when test="$parentinfo/date
                           |$parentinfo/pubdate">
-            <xsl:message>Note: Found date in</xsl:message>
-            <xsl:value-of select="$parentinfo"/>
+            <xsl:message
+                >Note: Found <xsl:value-of
+                select="local-name(($parentinfo/date|$parentinfo/pubdate)[1])"
+                /> in <xsl:value-of
+                select="local-name($parentinfo)"
+                /></xsl:message>
             <xsl:copy>
               <xsl:apply-templates
                   select="($parentinfo/date