From: Bob Stayton Date: Thu, 14 Jul 2011 19:24:34 +0000 (+0000) Subject: Fix trim.common.uri.paths to first resolve any ../ in X-Git-Tag: release/1.79.1~6^2~732 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7fa370c4ff70ca3fde612de6982174c47859f15;p=docbook-dsssl Fix trim.common.uri.paths to first resolve any ../ in the paths. --- diff --git a/xsl/lib/lib.xweb b/xsl/lib/lib.xweb index baddeaf68..e000989c7 100644 --- a/xsl/lib/lib.xweb +++ b/xsl/lib/lib.xweb @@ -203,6 +203,51 @@ the empty string. + + + + +idref +Extract IDREF from a linking element + + +Description + +The idref template accepts +any xref or universally linking element as a parameter +and returns the local +ID that it points to. +If it has a linkend attribute, +it returns that value. +If it has a xlink:href, it +returns that value, parsed as needed to extract just +the id reference. Otherwise it returns an empty string. + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -957,22 +1002,34 @@ which would effectively move up the hierarchy. + + + + + + + + + + + + + - + - - + + - + - +