<?xml version='1.0' encoding='iso-8859-1' ?>
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0">
<xsl:param name="lang" select="'en'"/>
<xsl:variable name="job" select="/scheduler_event/state/jobs/job[ @job = /scheduler_event/@job ]" />
<xsl:variable name="task" select="$job/tasks/task[ @task = /scheduler_event/@task ]" />
<xsl:template match="/scheduler_event">
...
<xsl:element name="header">
<xsl:copy-of select="mail/header/@from_address" />
<xsl:attribute name="from_name"><xsl:value-of select="'JobScheduler'"/></xsl:attribute>
<xsl:copy-of select="mail/header/@to" />
<xsl:copy-of select="mail/header/@cc" />
<xsl:copy-of select="mail/header/@bcc" />
...
</xsl:element>
...
</xsl:template>
...
</xsl:stylesheet>
|