Tuesday, February 13, 2007

Chap 6 (Cont'd)

XML is a standard, but not necessarily a standard the way it is used. XML is a meta-language: it defines other XML languages. It defines what an element is, what an attribute is, and how things like angle brackets, <>, are supposed to be used.

Sometimes XML is great and sometimes it's not. It takes a lot of text to say just a little in XML. Don't try to use XML for everything.

Because it takes a lot of text for XML, you'll need to use a POST request (because GET might leave out text).

You can use the setRequestHeader() method to tell the server that you're sending XML.

0 Comments:

Post a Comment

<< Home