1
<?xml version="1.0" encoding="utf-8"?>
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
<xsl:output method="html" encoding="utf-8"/>
4
<xsl:template match="result">
5
<div class = "emailform">
6
<div class="emailheading"><table class="headingtable"><tr><td><h1><xsl:value-of select="heading"/></h1></td></tr></table>
8
<div class="emailcontent">
10
<xsl:for-each select="value">
11
<xsl:if test="string(@name)!='Message'">
12
<tr><td><xsl:value-of select='@name'/></td><td><input type='text' style="width:100%"><xsl:attribute name="id"><xsl:value-of select='@id'/></xsl:attribute></input></td></tr>
14
<xsl:if test="string(@name)='Message'">
15
<tr><td><xsl:value-of select='@name'/></td><td><textarea rows='5' style="width:100%"><xsl:attribute name="id"><xsl:value-of select='@id'/></xsl:attribute></textarea></td></tr>
18
<tr><td><button><xsl:attribute name="onclick">javascript:graph_control.sendEmail();</xsl:attribute>Send e-mail</button></td><td><button><xsl:attribute name="onclick">javascript:graph_control.closediv('emailform');</xsl:attribute>Cancel</button></td></tr>
b'\\ No newline at end of file'