From: Mauritz Jeanson Date: Tue, 17 Mar 2009 16:26:23 +0000 (+0000) Subject: Changed "ancestor::title" to "(ancestor::title and (@id or @xml:id))". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55f14a98af1ad2ecbcd76f8a45bd0b1128f1dad4;p=docbook-dsssl Changed "ancestor::title" to "(ancestor::title and (@id or @xml:id))". This enables proper formatting of inline elements in titles in TOCs, as long as these inlines don't have id or xml:id attributes. --- diff --git a/xsl/common/titles.xsl b/xsl/common/titles.xsl index 2d87a9498..82f0d3f1a 100644 --- a/xsl/common/titles.xsl +++ b/xsl/common/titles.xsl @@ -653,7 +653,7 @@ title of the element. This does not include the label. descendant-or-self::olink or descendant-or-self::xref or descendant-or-self::indexterm or - ancestor::title"> + (ancestor::title and (@id or @xml:id))">