[xsl] including javascript??

Subject: [xsl] including javascript??
From: "Marcus Klinge" <klinge@xxxxxxxxxxxxxxx>
Date: Fri, 6 Apr 2001 11:49:20 +0200
Hi there.

I am currently sitting on a project that involves including javascript into
the output HTML file.
Sadly, my XSL does not seem to work properly.

My code goes like this:

	<xsl:template name="javascript_head">
			<xsl:when test="number(NAVIGATION/KAPITEL)=1">
				<script language="JavaScript">
						 if (top.location != window.location){top.location =
				<script language="JavaScript" src="../_nav/navmap1.js"
				<script language="JavaScript" src="../_nav/big.js"

What am I doing wrong (as obviously I am)?

Marcus Klinge
Web Producing
Karzauninkat Webdesign
Barner Strasse 14
22765 Hamburg
Tel: 040 39834 771
Fax: 040 39834 779

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread