From 6962a42ff04b722a355c2b7baab52cef1228095e Mon Sep 17 00:00:00 2001 From: Ian Young Date: Wed, 11 May 2011 11:48:36 +0000 Subject: [PATCH] Simplify a lot of the namespace prefix normalisation code using wildcard templates and xsl:element instead of enumerating elements. This should also reduce the amount of maintenance required in future. --- build/import.xsl | 411 ++--------------------------------------------- 1 file changed, 13 insertions(+), 398 deletions(-) diff --git a/build/import.xsl b/build/import.xsl index b401d68b..3fd7d751 100644 --- a/build/import.xsl +++ b/build/import.xsl @@ -206,269 +206,16 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + @@ -482,29 +229,17 @@ - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +