Skip to main content

Posts

Showing posts with the label XML

XML : AJAX Tutorial For Beginners

Why Study AJAX? If you want to learn : • Update a web page without reloading the page • Request data from a server - after the page has loaded • Receive data from a server - after the page has loaded • Send data to a server - in the background What is AJAX? AJAX stands for Asynchronous JavaScript And XML. AJAX is not a programming Language. Ajax just uses a combination of : A browser built-in XMLHttpRequest object (to request data from a web server) JavaScript and HTML DOM (to display or use the data) This is how AJAX works:- <!DOCTYPE html> <html> <head> <script> function tryAjax() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("content").innerHTML = this...

XML Basics For Beginners in Short

Why Study XML? It is important to have a good understanding of XML. What is XML? Xml stands for extensible markup language. Xml designed to store and transport data. XML doesn’t do anything. It is just information wrapped in tags. Difference between XML and HTML: XML was designed to carry data – with focus on what data is and HTML was designed to display data with focus on how data looks. XML tags are not predefined like HTML tags are: XML language has no predefined tags. With XML, the author must define both the tags and the document structure. XML Simplifies Things like:- Data Sharing:- Exchanging data between incompatible systems is a time-consuming task for web developers. Large amounts of data must be converted, and incompatible data is often lost. XM...