[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Antwort: Re: Antwort: RE: Antwort: External JavaScript
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|