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: > >

RE: Include external javascript file

2002-05-29 Thread Bert Van Kets
dnesday, 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 to call in your >application. > >Put your *.js files in the "js" directory and add the following to your >pipe

Include external javascript file

2002-05-29 Thread Christoph Stocker
chris -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 s

RE: Include external javascript file

2002-05-29 Thread TREGAN Fabien
path to http://myserver/js/toto.js, so cocoon won't 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 e

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-28 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 should be transformed to one tag . So there is could be the problem because the is treated in HTML as u

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 Now you can call any external javascript file directly, but it will be served from the js directory. Ad

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: ... The file cold_reverse_script.js is in the same directory as the xsl