aboutsummaryrefslogtreecommitdiff
path: root/plan.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'plan.xsl')
-rw-r--r--plan.xsl25
1 files changed, 15 insertions, 10 deletions
diff --git a/plan.xsl b/plan.xsl
index 57b808c..bef6fc5 100644
--- a/plan.xsl
+++ b/plan.xsl
@@ -78,17 +78,22 @@
</xsl:template>
<xsl:template match="datasource">
- <task type="clean">
- <path>
- <xsl:value-of select="meta/target"/>
- </path>
- </task>
+ <xsl:copy-of select="source"/>
+ <xsl:copy-of select="meta"/>
- <xsl:call-template name="traverse">
- <xsl:with-param name="source" select="$root/meta/source"/>
- <xsl:with-param name="target" select="$root/meta/target"/>
- <xsl:with-param name="node" select="source"/>
- </xsl:call-template>
+ <tasks>
+ <task type="clean">
+ <path>
+ <xsl:value-of select="meta/target"/>
+ </path>
+ </task>
+
+ <xsl:call-template name="traverse">
+ <xsl:with-param name="source" select="$root/meta/source"/>
+ <xsl:with-param name="target" select="$root/meta/target"/>
+ <xsl:with-param name="node" select="source"/>
+ </xsl:call-template>
+ </tasks>
</xsl:template>
</xsl:stylesheet>