]> granicus.if.org Git - docbook-dsssl/commit
Drastically reworked all of the XPath expressions used in refentry
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 7 Apr 2006 12:21:25 +0000 (12:21 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 7 Apr 2006 12:21:25 +0000 (12:21 +0000)
commit2f49cda178cf65447a1e81856f62ab4fd07ecf76
tree1ba322062007446d63c1e74de5b4ab4b3961b51f
parent615ea75955d268a70848c8dfa224730fd84cca8d
Drastically reworked all of the XPath expressions used in refentry
metadata gathering -- completely removed $parentinfo and turned
$info into a set of nodes that includes the *info contents of the
Refentry plus the *info contents all all of its ancestor
elements. The basic XPath expression now used throughout is (using
the example of checking for a date):

  (($info[//date])[last()]/date)[1].

That selects the "last" *info/date date in document order -- that
is, the one eitther on the Refentry itself or on the closest
ancestor to the Refentry.

It's likely this change may break some things; may need to pick
up some pieces later.

Also, changed the default value for the man.th.extra2.max.length
from 40 to 30.
xsl/common/common.xsl
xsl/common/refentry.xsl
xsl/manpages/docbook.xsl
xsl/manpages/other.xsl
xsl/params/man.th.extra2.max.length.xml
xsl/params/refentry.date.profile.xml
xsl/params/refentry.manual.profile.xml
xsl/params/refentry.source.name.profile.xml
xsl/params/refentry.version.profile.xml