MIME-Version: 1.0 Content-Location: file:///C:/DE7D55D4/sampleXSLT.htm Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="us-ascii" <

<?xml= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>version=3D"1.0= " <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>encoding=3D"UTF= -8"?>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:stylesheet xmlns:xsl=3D"http://www.w3.org/1999/XSL/T= ransform" <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>version=3D"1.0= " <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xmlns:<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>msxsl<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D"urn= :schemas-microsoft-com:xslt" <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xmlns:<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>myObj<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D"urn= :date-conv">

       &= lt;xsl:output indent=3D"yes" method=3D"html&q= uot;/>

      

       &= lt;xsl:template match=3D"HttpError"><= /p>

            =          <html>

            =          <head>

            =          <title>Error Email</title>

            =          <style type=3D"text/css">

body,input,td, th, div,ul, li, span,div,.normal,p {font-family:arial, helvetica; font-size: 12px;}

            =          h1 {font-family:arial, helvetica; font-size: 8px;}<= o:p>

            =          </style<= span style=3D'color:blue'>>

            =          </head>

            =          <body>

       &= lt;b><font color=3D'maroon' size=3D'3'>BENEFITS ONLINE ERROR REPORT</font></b<= span style=3D'color:blue'>>

       &= lt;hr align=3D"center&= quot; width=3D"100%" color=3D"black&q= uot;></hr><= /span>

<p>The date and time of the error: <xsl:apply-templates select=3D"ErrorDate"/> at <xsl:apply-temp= lates select=3D"ErrorTime"/></p>

            =             &nb= sp; 

<p>A user has triggered an <xsl:apply-templates select=3D"ErrorHeader"/> error on <xsl:apply-temp= lates select=3D"ServerName"/>.</p>

            =             &nb= sp; 

<p>The Web site the user was browsing is the following: <xsl:apply-templates select=3D"SiteUrl"/></p>

            =             &nb= sp; 

<p>The query string generated by this error is the following: <xsl:apply-templates select=3D"QueryString"/></p>

            =             &nb= sp; 

       &= lt;xsl:choose>

<xsl:when test=3D"UrlReferrer !=3D 'null'"><p>The link the user clicked was on the following page: <xsl:apply-templates select=3D"UrlRef= errer"/></p>

            =   <ul>

<li>If the broken link is an image, this page = will generally be the page containing the invalid &= ;lt;img&gt; tag.</li><= /span>

<li>If the broken link is a JavaScript (.js) f= ile, this page will generally be the page containing the invalid &lt;script&gt;= tag.</li<= /span>>

<li>If the broken link is a stylesheet (.css) file, this page will generally be the page containing the invalid &lt;link&gt; tag.</li<= /span>>

            =   </ul>

       &= lt;/xsl:when>

       &= lt;xsl:otherwise><p>There is no data on the page the user came_= from.</p>

            =   <ul>

<li>The user typed an invalid URL into their browser's address bar.</li><= /span>

<li>A search engine Bot, or Spider (Crawler) is checking a previously indexed page which no longer exists.</li>

<li>The user clicked on a link that was bookma= rked by the user or indexed by a search engine at some point in the past when the link was valid, but no the targeted URL no longer exists.</li>

            =   </ul>

       &= lt;/xsl:otherwise>

       &= lt;/xsl:choose>

            =             &nb= sp; 

       &= lt;p>The re= mote user's IP address is <xsl:apply-templates select=3D"UserAddress"/> and the remote = user's host is <= xsl:apply-templates select=3D"HostAddress"/>.</p>

            =             &nb= sp; 

<p>The value of the remote user's server agent variable is: <xsl:apply-templates select=3D"UserAgent"/>.</p>

            =             &nb= sp; 

       &= lt;hr align=3D"center&= quot; width=3D"100%" color=3D"black&q= uot;></hr><= /span>

            =             &nb= sp; 

<p>The error number for this incident is: <xsl:apply-templates select=3D"ErrorDateTime"/>.</p>

       &= lt;/body>

</= html>

</= xsl:template>

      

      

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"ErrorDateTime">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"ErrorDate">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"ErrorTime">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"SiteName">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"ErrorHeader"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"ErrorCode">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"ErrorMessage">=

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"ServerName">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"UrlReferrer"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"UserAddress"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"HostAddress"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"SiteUrl">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"MachineName"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"RequestItem"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"UserAgent">

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"QueryString"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

      

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>xsl:template match=3D"UrlReferrer"><= /p>

<<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:maroon'>b><font <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>color<= span style=3D'font-size:9.0pt;font-family:"Courier New";color:blue'>=3D'#2F0072'= <= span style=3D'font-size:9.0pt;font-family:"Courier New";color:red'>size=3D'2'>&l= t;xsl:value-of select=3D"."/></font></b>

</= xsl:template>

 <= /o:p>

</= xsl:stylesheet>