]> granicus.if.org Git - apache/commitdiff
check whether <parentdocument> contains text(nodes).
authorAndré Malo <nd@apache.org>
Sun, 17 Nov 2002 05:54:04 +0000 (05:54 +0000)
committerAndré Malo <nd@apache.org>
Sun, 17 Nov 2002 05:54:04 +0000 (05:54 +0000)
this allows documents to set the href of the top left left-arrow
without adding a breadcrumb link. This feature primarily intended for
directory index files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97548 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/common.xsl

index 34cabc1f847bdf5471b618a9b44c7859b91db032..31d281f44cf21042d1a17cdfcdfc80aeb8969c4d 100644 (file)
               <xsl:value-of select="$messages/message[@name='modules']"/>
             </a>
           </xsl:if>
-          <xsl:if test="parentdocument">
+          <xsl:if test="parentdocument/text()">
             <xsl:text> &gt; </xsl:text>
             <a href="{parentdocument/@href}">
               <xsl:value-of select="parentdocument"/>