XSL and AJAX
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi,
How can I use AJAX if my final HTML is formed as a result of transformation between XML and XSL. How to use AJAX effectively in such scenarios?
How can I use AJAX if my final HTML is formed as a result of transformation between XML and XSL. How to use AJAX effectively in such scenarios?
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
It's important to keep in mind what AJAX technology is and does:
AJAX technology allows you to retrieve data from the server, from a webpage, without reloading that webpage.
It's primary use is to spice up HTML forms, for example, to automatically look up the city and street when someone enters his postal code.
This means that it does not matter how your pages are built. You need two thing:
1) the final HTML you send to the client browser contains the necessary Javascript code to fire an Ajax request
2) your server has some servlet or script that can receive the ajax requests and send the response you need for your script to work
AJAX technology allows you to retrieve data from the server, from a webpage, without reloading that webpage.
It's primary use is to spice up HTML forms, for example, to automatically look up the city and street when someone enters his postal code.
This means that it does not matter how your pages are built. You need two thing:
1) the final HTML you send to the client browser contains the necessary Javascript code to fire an Ajax request
2) your server has some servlet or script that can receive the ajax requests and send the response you need for your script to work
SCJP 1.4, SCJD 1.4, SCWCD 1.3, ICSD:Websphere 5.1
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Is the XSL run on the server or the client?
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
"Raju",
There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
Forum Bartender
There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
Forum Bartender
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
JavaScript can handle XSL and XML, but not every browser supports it currently. I talk about that in Ajax In Action. Not sure if Foundations of Ajax covers this topic.
Eric
Eric
| Oh, sure, you could do that. Or you could eat some pie. While reading this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |










