RE: [xsl] JS not executed AFTER transformNode

Subject: RE: [xsl] JS not executed AFTER transformNode
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 5 Aug 2004 14:28:24 +0100
> 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.


Current Thread
  • RE: [xsl] <META>-Tag, (continued)
    • bry - Wed, 4 Aug 2004 22:43:57 +0200
      • Daniel Joshua - Thu, 5 Aug 2004 14:08:32 +0800
        • bry - Thu, 5 Aug 2004 10:55:44 +0200
    • Andrew Welch - Thu, 5 Aug 2004 14:28:24 +0100 <=