This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl and javascript
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] xsl and javascript
- From: Nathalie Pult <s9292251 at access dot unizh dot ch>
- Date: Tue, 23 Oct 2001 10:42:14 +0200 (MEST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
have you tried to put all the stuff that you want to be written in the new
window in a function that is called while the body is re-loaded? Then you
can access this new window by it's name (that you assigned by creating
it).
The body-tag in your first page would look like this:
<body
onload="name_of_the_second_window.document.writeln(function_you_created());"/>
Not very elegant but js... .
---
Nathalie
On Mon, 22 Oct 2001, geeta gudavalli wrote:
> I am facing a problem with xsl and javascript. I have a servlet that
> transforms xml inot html by using xsl. I can create the html and I do have
> javascipt in my xsl file to open a new window. I would like to write the
> output from the servlet to this new window. Can anyone help me. My servlet
> writes the output to same browser windoe and opens another blank window.
> Your help is greatly appreciated.
> Thank you,
> XSLuser
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list