Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 17th, 2006, 12:35 PM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 Corss-Browser XSLT problem

Hi Mr. Zakas,

I still have a problem:

function transformXml(sResponseText) {
    var oXmlDom = zXmlDom.createDocument();
    oXmlDom.async = false;
    oXmlDom.loadXML(sResponseText);

    var oXslDom = zXmlDom.createDocument();
    oXslDom.async = false;
    oXslDom.load('$(thisMacro)/booksxsl2');
    alert(oXslDom.xml)
    alert(oXslDom.documentElement)
    var str = zXslt.transformToText(oXmlDom,oXslDom);

    document.getElementById("divBookList").innerHTML = str;
}

In the code above, IE works fine, but FireFox:
alert(oXslDom.xml) shows blank,
alert(oXslDom.documentElement) shows null

It is Firefox 1.0.7, please help!

Thanks,

James





Similar Threads
Thread Thread Starter Forum Replies Last Post
Browser Support for XSLT 2.0 dennis_wimer XSLT 6 May 8th, 2010 04:25 PM
Problem in using Browser in Winforms jay69 C# 0 December 5th, 2006 05:49 AM
dynamic xslt -> xslt creation namespace problem jkmyoung XSLT 2 July 15th, 2006 12:42 AM
XSLT in VC++.NET 7.0: Output in Web Browser BigOcean XML 0 February 18th, 2005 11:27 PM





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