|
Subject: Re: [xsl] XSL and XML in JavaScript From: Francesco Barresi <kywocs@xxxxxxxxx> Date: Tue, 23 Nov 2004 00:03:12 -0300 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] XSL and XML in JavaScript, John | Thread | [xsl] Difference in Xalan & Saxon f, Bhupendra Singh |
| [xsl] storing the result of a trans, Jean-François Lavign | Date | RE: [xsl] storing the result of a t, Tiffany Blake |
| Month |