[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: JS not executed AFTER transformNode
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|