From 6e5eefd1db1faa682b6db9dd73ffa2d76ead84e0 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 19 Feb 2015 09:54:08 +0100 Subject: Use exsl:str:replace function instead of template We need exsl anyway and using str:replace as xpath function simplifies the template alot. --- convert-style-to-html.xsl | 32 +++++++++----------------------- util.xsl | 23 ----------------------- 2 files changed, 9 insertions(+), 46 deletions(-) diff --git a/convert-style-to-html.xsl b/convert-style-to-html.xsl index dbc7281..b22de5c 100644 --- a/convert-style-to-html.xsl +++ b/convert-style-to-html.xsl @@ -1,62 +1,48 @@ - + - - - - - - - - - - - - + - - + - - + - - + - - + - - + diff --git a/util.xsl b/util.xsl index 1c8bb5a..19e6cf9 100644 --- a/util.xsl +++ b/util.xsl @@ -51,27 +51,4 @@ attribute text - - - - - - - - - - - - - - - - - - - - - - - -- cgit