Hi,
This also didn't work:
<script language="JavaScript" type="text/javascript"
src="login.js"> </script>
The JavaScript works fine in the xsl:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" xmlns:fo="
http://www.w3.org/1999/XSL/Format">
<xsl:template match="/portalLogin">
<html>
<head>
<title>
<xsl:value-of select="@title"/>
</title>
<script language="JavaScript">
function fillDate()
{
mon=new Array
("JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEPT","OKT","NOV","DEZ");
today = new Date();
yearString = today.getFullYear();
....
But every attempt puttin it into an external file fails
<script language="JavaScript" type="text/javascript" src="login.js
">
<!-- differnt attempts -->
</script>
Even tried it with the absolute path.
MfG
Jonny
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list