Re: Include external javascript file

2002-06-01 Thread Cocoon User
U have to edit your sitemap file so cocoon know how to handle .js files On Tue, 28 May 2002, Naquin, Beth wrote: A cocoon newbie question: I am trying to include a javascript function from an external .js file into my xsl stylesheet. I have the following in the xsl stylesheet: head

Re: Include external javascript file

2002-05-29 Thread KOZLOV Roman
Hi, XSL transformer should not of course show the code from .js file in the result html. Moreover it usually transforms element with empty content to one tag. For example, in your case the script .../script should be transformed to one tag script .../. So there is could be the problem because

RE: Include external javascript file

2002-05-29 Thread Rajeev Singh
I have a silly question, Why do we put {1}.js in js/{1}.js ? -Original Message- From: Bert Van Kets [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 1:49 AM To: [EMAIL PROTECTED] Subject: Re: Include external javascript file You must add a pipeline for every filetype you wish

RE: Include external javascript file

2002-05-29 Thread TREGAN Fabien
be concerned by the request) hope it's clearer (i doubt :) fabien. -Message d'origine- De: Rajeev Singh [mailto:[EMAIL PROTECTED]] Date: mercredi 29 mai 2002 13:38 À: [EMAIL PROTECTED] Objet: RE: Include external javascript file I have a silly question, Why do we put {1}.js in js/{1}.js

Include external javascript file

2002-05-29 Thread Christoph Stocker
-Original Message- From: TREGAN Fabien [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 29. Mai 2002 13:48 To: '[EMAIL PROTECTED]' Subject: RE: Include external javascript file Because it's cleaner :) The thing you must remember is that ANAY request tht start with /cocoon/ is sent to COCOON

RE: Include external javascript file

2002-05-29 Thread Bert Van Kets
To: [EMAIL PROTECTED] Subject: Re: Include external javascript file You must add a pipeline for every filetype you wish to call in your application. Put your *.js files in the js directory and add the following to your pipelines map:match pattern=*.js map:read src=js/{1}.js mime-type

Include external javascript file

2002-05-28 Thread Naquin, Beth
Title: Include external javascript file A cocoon newbie question: I am trying to include a javascript function from an external .js file into my xsl stylesheet. I have the following in the xsl stylesheet: head ... script src="cold_reverse_script.js" language=javascript /scri

Re: Include external javascript file

2002-05-28 Thread Bert Van Kets
You must add a pipeline for every filetype you wish to call in your application. Put your *.js files in the js directory and add the following to your pipelines map:match pattern=*.js map:read src=js/{1}.js mime-type=text/javascript/ /map:match Now you can call any