xsl-list
[Top] [All Lists]

Re: JS not executed AFTER transformNode

2004-08-04 07:39:53
Hi,

yes, I know it's more on JS side than pure XSLT, but i
could find nothing on JS boards.. so I though XSL pros
were more likely to have encountered a similar problem
:)

Anyway, I could have used the DOM rather than
document.write(), but the example suggested in
Sarissa's doc implies the use of a div tag, which I
want to avoid.. 

My code is actually processed when a link is clicked,
and the resulting action should be the drawing of the
resulting page, which happens fine now.

On the other hand, I'm not a DOM guru, so if you have
2-3 lines of code as an example, that would make my
day :)

Thx in advance,

Fred
--- Emmanouil Batsis <Emmanouil(_dot_)Batsis(_at_)eurodyn(_dot_)com>
wrote:

Hi Fred,

Frederic Tsolakidis wrote:

My JS transformation works fine, and I'm displaying
the result with a document.write() call..


Thats more of a JS than an XSLT issue ;-)

In  general, document.write() should be avoided; try
to use DOM to 
attach the generated markup in your document.
Sarissa includes 
documentation on that.

hth,

Manos


--+------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





                
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 


<Prev in Thread] Current Thread [Next in Thread>