Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 20th, 2007, 01:54 AM
Registered User
Join Date: Oct 2006
Location: chennai, tamilnadu, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default transformNode not working in firefox

Hi All,

 I have my javscript code as following to apply xslt for the xml content present inside a div tag. This code works in ie. But not working in FireFox , Safari.

var strStyle = document.getElementById(“sStyle”).XMLDocument;
 document.getElementById(“wd”).innerHTML = document.getElementById(“forxml”).transformNod e(“strStyle”);

here is the piece of code in my asp file where the xml transformation is taking place.

<XML ID="forxml" HEIGHT="0" WIDTH="0"><%=sentence%></XML>
<XML ID="sStyle" SRC="aod.xsl"></XML>

<div id =”wd”></div>

the asp variable sentence holds the xml tag information .

This code works perfectly in Internet Explorer . But its not at all working in FireFox.

Its displaying error message as “transformNode not a function in firefox”

Please give me suggestions how to rectify this…?

Thanks in advance.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
innerHTML tag is not working in firefox johnpaul8182 ASP.NET 2.0 Professional 0 March 4th, 2008 07:29 AM
Blog with FCKeditor not working in Firefox cwh BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 March 20th, 2007 01:35 AM
logout not working in firefox sen22 ASP.NET 2.0 Basics 0 January 25th, 2007 04:21 AM
Client side XSLT not working in FireFox ole_v2 XSLT 1 November 13th, 2006 06:26 PM
responseText not working in FireFox Coyote21 BOOK: Professional Ajax ISBN: 978-0-471-77778-6 0 July 13th, 2006 05:53 AM

All times are GMT -4. The time now is 11:43 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.