microsoft.public.sqlserver.notificationsvcs
[Top] [All Lists]

Re: NS & Email - what am I doing wrong?

Subject: Re: NS & Email - what am I doing wrong?
From:
Date: 9 Dec 2005 09:19:49 -0800
Newsgroups: microsoft.public.sqlserver.notificationsvcs
I am using an XSL Transform to format the message.  It dumps to the
file delivery channel no problem, but the emails never arrive via the
Email DeliveryChannel.  If the XSLT was bad, wouldn't it have problems
in both areas?  Regardless, I've included it below for any debugging
help you could offer.....I checked in the application log (are you
talking about the normal windows event log?).  Nothing of substance -
how does one go about turning on verbose logging?



<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

        <xsl:template match="notifications">
        <html>
                <body>
                        <xsl:apply-templates/>
                        <i>testing.</i><br/>
                        <b>Testing Title</b><br/>
                        Please see details below for more information.
                </body>
        </html>
        </xsl:template>

        <xsl:template match="notification">
                Full Name : <b><xsl:value-of select="FullName" /></b><br/>
                Address Line 1 : <b><xsl:value-of select="AddressLine1" 
/></b><br/>
                Address Line 2 : <b><xsl:value-of select="AddressLine2" 
/></b><br/>
                City : <b><xsl:value-of select="City" /></b><br/>
                State : <b><xsl:value-of select="State" /></b><br/>
                Zip Code : <b><xsl:value-of select="Zip" /></b><br/>
                <br/>
        </xsl:template>
        
</xsl:stylesheet>


<Prev in Thread] Current Thread [Next in Thread>