|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: RE: RE: JavaScript problem again!
> I just commented out part by part. In this particular part, > JavaScript didn't work for the whole document. Since I'm an > newbie I don't know whitch prozessor I'm using. To solve a problem with creating javascript, you have to accomplish two things - 1) Your javascript code - the code you want to create with the stylesheet - has to work right, independently from any xslt transformation issues. You can test this by hand-authoring an html page and testing it. 2) You have to see what javascript is actually being created. In your case, I take it that the transformation is not getting completed, and that the error occurs during the attempted xslt transformation so that you cannot finish step 2). Is that right? If not, then you may have a javascript issue and not an xslt issue. The best bet is to get a copy of the exact xml source that is getting fed to the xslt processor, and run it against the stylesheet using a different xslt processor. The reason is that you may get more helpful error messages. If you cannot capture that source somehow (and maybe you could get it by using an identity transformation (see any FAQ site)), you will have to create one by hand that approximates what you think the stylesheet is seeing. For you, this would mean running from the command line rather than from Cocoon, if you are still stuck. In the future, please make it clear for us how you know that the problem arises during the transformation and not during execution of the javascript. You may think it has been obvious, but as I read your posts I realize that I have to guess about it. Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








