✓ XSL file EXISTS at: /home/storm/sites/lnieg-nimsite-uk/public/logs/visitor-style.xsl
Last modified: 2026-02-17 16:08:18
Size: 15711 bytes
✓ XSL HAS exchanges support code
✓ XSL has exchange count badge
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8" indent="yes"/>
<!-- Template to format time as '15:50' -->
<xsl:template name="format-time">
<xsl:param name="datetime"/>
<!-- Extract time part from '2026-02-13 15:50:06' -->
<xsl:variable name="time" select="substring-after($datetime, ' ')"/>
<!-- Extract hour and minute -->
<xsl:variable name="hour" select="substring($time, 1, 2)"/>
<xsl:variable name="minute" select="substring($time, 4, 2)"/>
<!-- Output formatted time: '15:50' -->
<xsl:value-of select="concat($hour, ':', $minute)"/>
</xsl:template>
<!-- Template to format date as 'Thursday 13 February 26' -->
<xsl:template name="format-date">
<xsl:param name="datetime"/>
<!-- Extract date part from '2026-02-13 15:50:06' -->
<xsl:variable name="date" select="substring-before($datetime, ' ')"/>
<!-- Extract year, month, day -->
<xsl:variable name="year" select="substring($date, 1, 4)"/>
<xsl:variable name="month" select="substring($date, 6, 2)"/>
<xsl:variable name="day" select="substring($date, 9, 2)"/>
<!-- Calculate day of week using Zeller's Congruence -->
<xsl:variable name="y">
<xsl:choose>
<xsl:when test="$month < 3"><xsl:value-of select="$year - 1"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$year"/></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="m">
<xsl:choose>
<xsl:when test="$month < 3"><xsl:value-of select="$month + 12"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$month"/></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="d" select="$day"/>
<xsl:variable name="c" select="substring($y, 1, 2)"/>
<xsl:variable name="y2" select="substring($y, 3, 2)"/>
<!-- Zeller's formula -->
<xsl:variable name="h" select="($d + floor((13*($m+1)) div 5) + $y2 + floor($y2 div 4) + floor($c div 4) - (2*$c)) mod 7"/>
... (312 total lines)✓ XML file exists
Total conversations: 30
Conversations with exchanges: 0
⚠ No conversations have exchanges yet
Try asking 2-3 questions without refreshing the page.
✓ XSL is correct!
Try these: