[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: bry@xxxxxxxxxx
Date: Wed, 4 Aug 2004 22:43:57 +0200
javascript transformnode
depending on the browser and your output settings you might have a situation
where you are outputting <script src="myscript.js"/> which is a problem, if you
don't want to set your output to be html (which is something I hate doing
personally) i would do the following in your script generation:

<script src="myscript.js"><xsl:text> </xsl:text></script>

there could be other problems of course, but this is a likely thing to stem from
a transform. 

Quoting Frederic Tsolakidis <ftsolakidis@xxxxxxxxx>:

> hi,
> 
> I have an XSL file that I use to transform several XML
> pages into HMTL, in the XSL file, I'm referring to
> external javascripts, and everything works fine when I
> browse my pages.
> 
> For reasons too long to explain here, I've been
> working on "simulating" xpointer's behavior thanks to
> XMLDOM (I'm actually using sarissa) and perform my a
> transformation in javascript.
> 
> My JS transformation works fine, and I'm displaying
> the result with a document.write() call.. and
> everything seems ok, except for my included JS files,
> which don't get processed at all (I'm using the same
> XSL for common pages, and for pages transformed by
> JS).
> 
> As long as my resulting page sticks to static HTML,
> everything is ok, but once I make it dynamic (with
> internal or external JS) it doesn't work... 
> 
> Any idea anyone ?
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail 

Current Thread

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.