From: Bob Stayton Date: Fri, 19 Aug 2011 21:51:47 +0000 (+0000) Subject: Added two utility templates to make lib.xsl work X-Git-Tag: release/1.79.1~6^2~726 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=690314c1b4165b3dd3656a10bf74a0a206f51d00;p=docbook-dsssl Added two utility templates to make lib.xsl work without reference to other modules since it is used that way with profiling/xsl2profile.xsl. --- diff --git a/xsl/lib/lib.xweb b/xsl/lib/lib.xweb index e000989c7..50f58f1f7 100644 --- a/xsl/lib/lib.xweb +++ b/xsl/lib/lib.xweb @@ -1004,13 +1004,13 @@ which would effectively move up the hierarchy. - + - + @@ -1040,6 +1040,75 @@ which would effectively move up the hierarchy. + + +resolve.path +Resolve any ../ in path, except leading ../ + + +Description + +This function resolves any relative ../ parts of a file path. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +dirname +Return directory part of a path + + +Description + +This function returns the directory part of a path. + + + + + + + + / + + + + + + + + + + + @@ -1085,6 +1154,8 @@ around these functions. + +