EDN Admin
Well-known member
<span style="font-size:9.5pt;color:black I get my notification emails as simple text but I cant remove the version tag at the beginning of the message body:
<span style="font-size:9.5pt;color:black <font size=2><?xml version="1.0" encoding-"utf-16" ?></font>
<span style="font-size:9.5pt;color:black <font size=2>If I omit it in the XSLT file, it will still be generated.</font>
<span style="font-size:9.5pt;color:black <font size=2>____</font> <span style="font-size:9.5pt;color:black <font color="#0000ff" size=2>
<</font><font color="#800000" size=2>ContentFormatter</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>ClassName</font><font color="#0000ff" size=2>></font><font size=2>XsltFormatter</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>ClassName</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Arguments</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>></font><font size=2>XsltBaseDirectoryPath</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>></font><font size=2>%_AppPath_%</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>></font><font size=2>XsltFileName</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>></font><font size=2>ExceptionsTransform.xslt</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Arguments</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>ContentFormatter</font><font color="#0000ff" size=2>></font>
<font size=2><font color="#0000ff ____________________</font></font>
<font size=2><font color="#0000ff And the XSLT starts with:</font></font> <font size=2><font color="#0000ff" size=2>
<?</font><font color="#800000" size=2>xml</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>version</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>1.0</font><font size=2>"</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>encoding</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>UTF-8</font><font size=2>"</font><font color="#0000ff" size=2> ?>
<</font><font color="#808080" size=2>xsl:stylesheet</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>version</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>1.0</font><font size=2>"</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>xmlns:xsl</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>http://www.w3.org/1999/XSL/Transform</font><font size=2>"</font><font color="#0000ff" size=2>>
<</font><font color="#808080" size=2>xsl:template</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>match</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>notifications</font><font size=2>"</font><font color="#0000ff" size=2>>
<</font><font color="#800000" size=2>html</font><font color="#0000ff" size=2>>
<</font><font color="#800000" size=2>body</font><font color="#0000ff" size=2>>
<</font><font color="#808080" size=2>xsl:apply-templates</font><font color="#0000ff" size=2>/>
<</font><font color="#800000" size=2>i</font><font color="#0000ff" size=2>></font><font size=2>Thank you for using my Notification Services.</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>i</font><font color="#0000ff" size=2>>
</</font><font color="#800000" size=2>body</font><font color="#0000ff" size=2>>
</</font><font color="#800000" size=2>html</font><font color="#0000ff" size=2>>
</</font><font color="#808080" size=2>xsl:template</font><font color="#0000ff" size=2>> </font></font>
View the full article
<span style="font-size:9.5pt;color:black <font size=2><?xml version="1.0" encoding-"utf-16" ?></font>
<span style="font-size:9.5pt;color:black <font size=2>If I omit it in the XSLT file, it will still be generated.</font>
<span style="font-size:9.5pt;color:black <font size=2>____</font> <span style="font-size:9.5pt;color:black <font color="#0000ff" size=2>
<</font><font color="#800000" size=2>ContentFormatter</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>ClassName</font><font color="#0000ff" size=2>></font><font size=2>XsltFormatter</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>ClassName</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Arguments</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>></font><font size=2>XsltBaseDirectoryPath</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>></font><font size=2>%_AppPath_%</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>></font><font size=2>XsltFileName</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Name</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2><</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>></font><font size=2>ExceptionsTransform.xslt</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Value</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Argument</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>Arguments</font><font color="#0000ff" size=2>> </font><font size=2>
</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>ContentFormatter</font><font color="#0000ff" size=2>></font>
<font size=2><font color="#0000ff ____________________</font></font>
<font size=2><font color="#0000ff And the XSLT starts with:</font></font> <font size=2><font color="#0000ff" size=2>
<?</font><font color="#800000" size=2>xml</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>version</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>1.0</font><font size=2>"</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>encoding</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>UTF-8</font><font size=2>"</font><font color="#0000ff" size=2> ?>
<</font><font color="#808080" size=2>xsl:stylesheet</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>version</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>1.0</font><font size=2>"</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>xmlns:xsl</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>http://www.w3.org/1999/XSL/Transform</font><font size=2>"</font><font color="#0000ff" size=2>>
<</font><font color="#808080" size=2>xsl:template</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>match</font><font color="#0000ff" size=2>=</font><font size=2>"</font><font color="#0000ff" size=2>notifications</font><font size=2>"</font><font color="#0000ff" size=2>>
<</font><font color="#800000" size=2>html</font><font color="#0000ff" size=2>>
<</font><font color="#800000" size=2>body</font><font color="#0000ff" size=2>>
<</font><font color="#808080" size=2>xsl:apply-templates</font><font color="#0000ff" size=2>/>
<</font><font color="#800000" size=2>i</font><font color="#0000ff" size=2>></font><font size=2>Thank you for using my Notification Services.</font><font color="#0000ff" size=2></</font><font color="#800000" size=2>i</font><font color="#0000ff" size=2>>
</</font><font color="#800000" size=2>body</font><font color="#0000ff" size=2>>
</</font><font color="#800000" size=2>html</font><font color="#0000ff" size=2>>
</</font><font color="#808080" size=2>xsl:template</font><font color="#0000ff" size=2>> </font></font>
View the full article