From d7fa370c4ff70ca3fde612de6982174c47859f15 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Thu, 14 Jul 2011 19:24:34 +0000 Subject: [PATCH] Fix trim.common.uri.paths to first resolve any ../ in the paths. --- xsl/lib/lib.xweb | 69 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 63 insertions(+), 6 deletions(-) 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. + + + + + + + + + + + + + - + - - + + - + - + -- 2.40.0