© Frank M. Kromann 2016

Frank M. Kromann, PHP and MySQL Recipes, 10.1007/978-1-4842-0605-8_14

14. XML, RSS, WDDX, and SOAP

Frank M. Kromann

(1)Trabuco Canyon, California, USA

Web technology is more than HTML and JavaScript used by browsers and web servers. Other types of clients use other protocols and data formats to exchange and present data. This chapter contains recipes on how to create content in formats other than the usual HTML and JavaScript.

Recipe 14-1. Exchanging Data with XML

Problem

XML is a structured data format with tags and attributes like HTML. It is usually a bit stricter as tags without a corresponding closing tag will cause an error. In HTML it is allowed to have a <hr> or <br> tag without a corresponding </hr> or </br>. The XHTML ...

Get PHP and MySQL Recipes: A Problem-Solution Approach, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.