diff options
Initial commit of basic generator structure
* including example data and current "/home/adrian" layout
Diffstat (limited to 'utility/formatter.xsl')
-rw-r--r-- | utility/formatter.xsl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/utility/formatter.xsl b/utility/formatter.xsl new file mode 100644 index 0000000..49d8630 --- /dev/null +++ b/utility/formatter.xsl @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xalan="http://xml.apache.org/xalan" + xmlns:InputXSLT="function.inputxslt.application" + exclude-result-prefixes="xalan InputXSLT" +> + +<xsl:template name="formatter"> + <xsl:param name="format"/> + <xsl:param name="source"/> + + <xsl:copy-of select="InputXSLT:external-text-formatter( + $format, + $source + )/self::output/*"/> +</xsl:template> + +</xsl:stylesheet> |