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

RE: HTML and Javascript problem (newbie)

Subject: RE: HTML and Javascript problem (newbie)
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 09:32:37 +0100
javascript problem
> Now..the mouseover tool works fine in the when applied to HTML
elements
> but
> not elements in the XSL. For some reason the HTML generated by XSL
doesn't
> recognise this javascript, even though they are part of the same file.
> When viewing the final source code you *cannot* see the transformed
HTML
> inside the DIV which I believe is because of the innerHTML thing going
on
> (albeit my minimal understanding of Javascript). I guess that would
> roughly
> explain why the javascript won't work but shouldn't the javascript
still
> be
> accessible by the XSL anyway????

You have a html + javascript problem.  The best approach is to write the
html (and javascript) by hand and make sure it all works first, without
even touching xml + xslt.

Once you are sure your 'result' page is working, you can set about
generating it with xslt.

Keep a copy of your working html, and compare what you generate with
xslt to your working page.  Once they match you know your output is
correct - if they don't match then you have an xslt problem and you
could get help here.

cheers
andrew

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.