This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Javascript in XSL
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Javascript in XSL
- From: Oleg Tkachenko <olegt at multiconn dot com>
- Date: Wed, 24 Oct 2001 16:13:48 +0200
- Organization: Multiconn International
- References: <LAW2-F112C5OZyrU4hF00006d7a@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Annelies Vercruysse wrote:
> Hi,
>
> I'm converting existing HTML pages to XML-XSL combinations. My current
> HTML pages contain Javascripts that treat elements in the HTML document.
> (getElementById();)
>
> It seems that these javascripts are completely ignored when opening the
> XML page. Could it be that an XML page doesn't have the
> "document"-property so an element will never be found?
>
> I've already tried to put the javascript between the following tags:
> <![CDATA[ .... ]]>
>
> (I use the Netscape 6.1 browser)
>
> are there any known bugs with Javascripts within XSL?
> can anyone please help me? It would very much be appreciated!
>From my experience with mozilla's xslt I remember there were some problems with
script invocation in generated on the fly html documents, but I remember there were
some workarounds too. Can you show us your stylesheet?
--
Oleg Tkachenko
Multiconn International, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list