Professional Documents
Culture Documents
Are a data-description language Information about the elements Easy to understand the content
Standards for exchange information Can be used on all applications independent of the platform Mostly used for exchange web messages
XML Structure
JSON Structure
Eval(text) Text.parseJSON()
Automated serializing of objects Concise Format (Name/Value) Supported by many AJAX toolkits Type check No namespace support Difficult to create nested objects Limited development tools Narrow Focus -> RPC only
Example: Book Store HTML Page to show the data JavaScript + Ajax to get the XML / JSON