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