From b825f8dc3b0d247a3746c425ae4bb041b41fbafb Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sat, 22 Sep 2001 14:48:17 +0000 Subject: [PATCH] Rewrote substitute-markup to support %p --- xsl/common/gentext.xsl | 193 +++++++---------------------------------- 1 file changed, 31 insertions(+), 162 deletions(-) diff --git a/xsl/common/gentext.xsl b/xsl/common/gentext.xsl index 1a72f4ea9..cee0f3c78 100644 --- a/xsl/common/gentext.xsl +++ b/xsl/common/gentext.xsl @@ -183,61 +183,16 @@ - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + - - - + + @@ -245,20 +200,9 @@ select="substring-after($template, '%n')"/> - - - - - - - - - - - - + + + @@ -267,133 +211,58 @@ - - - + - - - - - - - + + + + select="substring-after($template, '%s')"/> - - - - - - - - - - - - - - - - - - - - + + + + select="substring-after($template, '%p')"/> - - - - - - - - - - - - - - - - - - - - + + + + select="substring-after($template, '%p')"/> - + - - + + Unexpected %-value in template: + + + select="substring-after($template, '%')"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + select="concat('%',substring-after($template, '%'))"/> - - - - - -- 2.50.1