From 690314c1b4165b3dd3656a10bf74a0a206f51d00 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Fri, 19 Aug 2011 21:51:47 +0000 Subject: [PATCH] Added two utility templates to make lib.xsl work without reference to other modules since it is used that way with profiling/xsl2profile.xsl. --- xsl/lib/lib.xweb | 75 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 73 insertions(+), 2 deletions(-) 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. + + -- 2.40.0