From f37ecaec80b6433bf6fb58c6d0294ffeddde0cec Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 25 Oct 2023 16:54:46 -0400 Subject: [PATCH] svgclean.xsl: new XSL stylesheet to help clean up our inkscape mess There are a few more cleanup/minimization opportunities left in our SVG, even after it has been scoured. For example, inkscape wraps all of its text in redundant elements, even when the parent has the same style as the sole . We'd like to remove those, to simplify the code and save space. XSLT can do this. This new stylesheet can do this. We add it now, in preparation for yet another SVG processing phase. --- svgclean.xsl | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 svgclean.xsl diff --git a/svgclean.xsl b/svgclean.xsl new file mode 100644 index 0000000..2a1c2d2 --- /dev/null +++ b/svgclean.xsl @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + -- 2.44.2