xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:ext="urn:extension-functions"
exclude-result-prefixes="msxsl ext">
<xsl:output encoding="windows-1251"/>
<msxsl:script
language="JavaScript"
implements-prefix="ext">
function date() {
now = new Date;
return now.getDate() + '.' +
(now.getMonth() + 1) + '.' +
now.getYear();
}
</msxsl:script>
<xsl:template match="/">
<html>
<head>
<title>Today is page</title>
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="date">
<xsl:value-of select="ext:date()"/>
</xsl:template>
</xsl:stylesheet>
<html>
<head>