[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: JS not executed AFTER transformNode

Subject: RE: JS not executed AFTER transformNode
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 5 Aug 2004 14:28:24 +0100
xsl generating js html
> Ok, not willing to spam, but I think I found the cause
> of the problem, at least ;)
>
> My JS code is normally called in the Onload event of
> the body tag.. when using document.write, I'm wiping
> the page content, but not generating this event.
>
> I'll dig a little bit more what I have to do to fix it
> completely, but I should be able to make it :)


(the onload event only fires when you do a document.close() by the way)

Regarding the issue <script></script> becoming <script/> and effectively
hiding your html, you could try using the 'xhtml' output method of xslt
2.0 (currently only available in Saxon afaik).  In mosts cases you can
get away with simply specifying that output method on your xslt 1.0
stylesheets, in other cases you may have to make minor tweaks but its
nothing major.

cheers
andrew

Current Thread
  • RE: <META>-Tag, (continued)
    • bry - 4 Aug 2004 21:19:25 -0000
    • Andrew Welch - 5 Aug 2004 13:28:46 -0000 <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.