O'Reilly logo

Sams Teach Yourself PHP, MySQL by Julie C. Meloni

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

Chapter 28. Working with XML

This chapter introduces you to working with XML documents via PHP, but in no way is it comprehensive—entire books have been written on this topic alone because there are several methods for accessing XML data using PHP functions. However, for people new to XML, or new to XML manipulation via PHP, some sets of functions are more manageable than others—this chapter introduces you to two of them.

In this chapter you will learn

  • How to create a basic XML document structure

  • How to access XML in PHP using DOM functions

  • How to access XML in PHP using SimpleXML functions

What Is XML?

The name XML comes from the full name of the language, Extensible Markup Language. Although markup is in the name of the language, do not think of XML ...

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