]> 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)
commited08222afc9491c05f199b2be5b1e0aa1a280ff2
tree3d559fe3f10ac93944edb8b2b2cf5fc8e3dd69f8
parent4d41465fe4c09f9532f08302d3715956874f26e3
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