RE: [xsl] xsl and javascript

Subject: RE: [xsl] xsl and javascript
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Mon, 19 Nov 2001 16:39:12 -0000
You want something more like
<xsl:variable name="x" select="'something'" />
function ol(thing){
	var newDoc ="text/html", "replace");
<body onload="ol('{$x}')>

That way you don't have to open and close windows and get those anoying
little alerts popping up.

Ciao Chris

XML/XSL Portal

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of TP
> Sent: 19 November 2001 15:53
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] xsl and javascript
> What I want to do, is when the xsl opens, use <xsl:variable> 
> to get the data i need in some variable x and then call a 
> javascript function to open a new window with that data and 
> at the same time close the current window.
> i got the part for the variable. but i cannot call a 
> javascript function within the body of the xsl file.
> please advise.
> Thanks,
> TP.
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread