diff options
Diffstat (limited to 'make.xsl')
-rw-r--r-- | make.xsl | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/make.xsl b/make.xsl deleted file mode 100644 index 7f52475..0000000 --- a/make.xsl +++ /dev/null @@ -1,67 +0,0 @@ -<?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:output - method="text" - omit-xml-declaration="yes" - encoding="UTF-8" - indent="no" -/> - -<xsl:variable name="source">source</xsl:variable> -<xsl:variable name="target">target</xsl:variable> - -<xsl:template name="generate"> - <xsl:param name="input"/> - <xsl:param name="transformation"/> - - <xsl:copy-of select="InputXSLT:generate( - $input, - InputXSLT:read-file(string($transformation))/self::file/node() - )/self::generation/node()"/> -</xsl:template> - -<xsl:template match="/"> - <xsl:variable name="list_source"> - <datasource> - <meta> - <source><xsl:value-of select="$source"/></source> - <target><xsl:value-of select="$target"/></target> - </meta> - </datasource> - </xsl:variable> - - <xsl:variable name="plan_source"> - <xsl:call-template name="generate"> - <xsl:with-param name="input" select="$list_source"/> - <xsl:with-param name="transformation">detail/list.xsl</xsl:with-param> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="process_source"> - <xsl:call-template name="generate"> - <xsl:with-param name="input" select="$plan_source"/> - <xsl:with-param name="transformation">detail/plan.xsl</xsl:with-param> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="summarize_source"> - <xsl:call-template name="generate"> - <xsl:with-param name="input" select="$process_source"/> - <xsl:with-param name="transformation">detail/process.xsl</xsl:with-param> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="generate"> - <xsl:with-param name="input" select="$summarize_source"/> - <xsl:with-param name="transformation">detail/summarize.xsl</xsl:with-param> - </xsl:call-template> -</xsl:template> - -</xsl:stylesheet> |