|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL and 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 !!
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








