aboutsummaryrefslogtreecommitdiff
path: root/utility/formatter.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'utility/formatter.xsl')
-rw-r--r--utility/formatter.xsl19
1 files changed, 19 insertions, 0 deletions
diff --git a/utility/formatter.xsl b/utility/formatter.xsl
new file mode 100644
index 0000000..d2c2f7c
--- /dev/null
+++ b/utility/formatter.xsl
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:InputXSLT="function.inputxslt.application"
+ exclude-result-prefixes="InputXSLT"
+>
+
+<xsl:template name="formatter">
+ <xsl:param name="format"/>
+ <xsl:param name="source"/>
+
+ <xsl:copy-of select="InputXSLT:external-command(
+ $format,
+ $source
+ )/self::command/node()"/>
+</xsl:template>
+
+</xsl:stylesheet>