AJAX

Moderators: None (Apply to moderate this forum)
Number of threads: 60
Number of posts: 100

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
xml.tansformNode(xsl) Posted by pieripieri on 2 Oct 2008 at 5:57 AM
Hi there dudes
I wrote an xml (with its dtd) and an xsl files, both valid. When i load directly xml file in my pc, all goes right, also using different browsers.
Infact xsl instructions are able to create an html page as i want.
The problem is that i uploaded the two files on a hosting site (which maintain my webpage) and i need to create an html from xml+xsl everytime i click a link.
To do this i coded an Ajax script which get xml and xsl files, do the transformations and then show results.
That works on Opera, Firefox and Safari. IE fails.
IE gets correctly the two files (i check this) but, when it aplly xsl to xml using 'xml.tansformNode(xsl)', jumps all <xsl:if> directive (or maybe IE thinks that are all false) consequently creates an html showing xml parts outside this directive.
So my problem is that html is generated but is incomplete.
If someone needs code, please tell me because i've got to cut it (too many rows)




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.