This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xsl and javascript


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]