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

Re: XSL and XML in JavaScript

Subject: Re: XSL and XML in JavaScript
From: Francesco Barresi <kywocs@xxxxxxxxx>
Date: Tue, 23 Nov 2004 00:03:12 -0300
xml in javascript
Hi, I use the following JavaScript code:

function xmlhttp (url, handler) {
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("GET", url,true);
    xmlhttp.onreadystatechange = function() {
        if (xmlhttp.readyState==4) { handler(xmlhttp.responseXML);}
 }
 xmlhttp.send(null)
}

I'm sure that works on Mozilla browsers (I use Firefox), in IE I don't
know, but I do know that there is also a way to do the same thing.

I hope I helped a litle.
Bye
Francesco.


On Wed, 17 Nov 2004 13:56:38 -0800, John <john-xsl-list@xxxxxxxx> wrote:
> Hello everyone,
> 
> Sorry if this posts twice - I think the first should be rejected for
> HTML formatting in the email.
> 
> Please let me know if there is a better forum for this kind of
> question.  I am really looking for URLs here, but direct answers would
> also be appreciated.
> 
> What is the best way to do XML processing in the browser using XSLT to
> embed content in page that is not XML-based, or for reading
> configuration or other data from an XML resource?  I am assuming
> JavaScript - is there a browser-independent syntax, or do I have to
> check which agent is loading the page and switch in the code?
> 
> Thanks,
> 
>    -John
> 
> 


-- 
www.GetFirefox.com !!

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.