From c76809eef4e579c4ee3646b82693fcc8175654a3 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 24 Oct 2005 06:39:31 +0000 Subject: [PATCH] Move trim.text template into lib.xweb file. --- xsl/lib/lib.xweb | 75 +++++++++++++++++++++++++++++++++++++++- xsl/manpages/table.xsl | 5 ++- xsl/manpages/utility.xsl | 55 ----------------------------- 3 files changed, 78 insertions(+), 57 deletions(-) diff --git a/xsl/lib/lib.xweb b/xsl/lib/lib.xweb index dc7db7021..323baa493 100644 --- a/xsl/lib/lib.xweb +++ b/xsl/lib/lib.xweb @@ -683,6 +683,78 @@ a string; it is not limited to just being a single character). + + +trim.text +Trim leading and trailing whitespace from a text node + + +Description + +Given a text node, this function trims leading and trailing +whitespace from it and returns the trimmed contents. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + str.tokenize.keep.delimiters @@ -1003,7 +1075,7 @@ does not support it. - + @@ -1165,6 +1237,7 @@ around these functions. + diff --git a/xsl/manpages/table.xsl b/xsl/manpages/table.xsl index 4457ce144..d0ea99360 100644 --- a/xsl/manpages/table.xsl +++ b/xsl/manpages/table.xsl @@ -50,7 +50,10 @@ T{ - + + + + T} diff --git a/xsl/manpages/utility.xsl b/xsl/manpages/utility.xsl index a50b574f0..c8efaf39e 100644 --- a/xsl/manpages/utility.xsl +++ b/xsl/manpages/utility.xsl @@ -238,59 +238,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- 2.40.0