XML introduction in AJAX ~ Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples
Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples: XML introduction in AJAX

XML introduction in AJAX

XML stands for eXtensible Markup Language.XML is nothing more than a text file containing a single well-formed XML document.

It is a general-purpose markup language that can be used to describe just about anything. XML differs from other markup languages like SGML and HTML. It’s a kind of metalanguage. The structure of an XML document must follow certain rules, but the vocabulary used within that structure isn’t tied to any dictionary of terms.

A tree data structure is built of nodes, with each node having only one node connected above it, called a parent node. The sole exception to this rule is the root node, which has no parent node. Nodes can also have other nodes connected below; these are called child nodes. In addition, nodes that are on the same level as the same parent node are called children. The following image is a graphical representation of a tree data structure.


An XML Document as Text

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<organization>

<employee><empid/><empname/></employee>

<employee> <empid/> <empname/> </employee>

<employee><empid/><empname/> </employee>

</organization>

Related Posts by Categories

10 comments:

Anonymous said...

Should I use an HTTP GET or POST for my AJAX calls?

Anonymous said...

AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture.

Anonymous said...

When do I use a synchronous versus a asynchronous request?

Anonymous said...

Good question. They don't call it AJAX for nothing! A synchronous request would block in page event processing and I don't see many use cases where a synchronous request is preferable.

Anonymous said...

Are Ajax applications easier to develop than traditional web applications?

Anonymous said...

Not necessarily. Ajax applications inevitably involve running complex JavaScript code on the client. Making that complex code efficient and bug-free is not a task to be taken lightly, and better development tools and frameworks will be needed to help us meet that challenge.

Anonymous said...

How do I test my AJAX code?

Anonymous said...

There is a port of JUnit for client-side JavaScript called JsUnit, I'm using this

Anonymous said...

What Browsers does HTML_AJAX work with?

Anonymous said...

As of 0.3.0, all the examples that ship with HTML_AJAX have been verified to work with
* Firefox 1.0+
* Internet Explorer 5.5+ (5.0 should work but it hasn't been tested)
Most things work with
* Safari 2+
* Opera 8.5+

Useful Links on Adobe Flex

Your Ad Here

Latest Books on Adobe Flex