Приглашаем посетить
Лесков (leskov.lit-info.ru)

11.3 Chapter Summary

Previous Table of Contents Next

11.3 Chapter Summary

Chapter 11 covers:

  • Understanding the basic differences between XML and HTML.

  • Creating a SimpleXML object from a string that contains XML.

  • Printing XML element contents with a SimpleXML object.

  • Printing XML element attributes with a SimpleXML object.

  • Accessing identically named elements with a SimpleXML object.

  • Looping through a SimpleXML object with foreach( ).

  • Changing elements and attributes in a SimpleXML object.

  • Printing a SimpleXML object as an XML document.

  • Sending a Content-Type header to indicate an XML document.

  • Creating a SimpleXML object from a local or remote file that contains XML.

  • Saving a SimpleXML object to a file as an XML document.

  • Generating an XML document from a PHP array.

  • Generating an XML document from information in a database table.

    Previous Table of Contents Next