O'Reilly logo

PHP and MySQL Recipes: A Problem-Solution Approach, Second Edition by Frank M. Kromann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required