Skip to main content

Simplexml—couldn’t Be Simpler

  • Chapter
PHP Object-Oriented Solutions
  • 1303 Accesses

Abstract

The main reason I migrated to PHP 5 within a month or two of its original release in July 2004 can be summed up in one word: SimpleXML. As the name suggests, it simplifies handling data stored in XML, which is frequently used for news feeds and transmitting data for web services, such as Google Maps and Amazon Web Services. Extracting data from an XML file in PHP 4 was so convoluted; my brain hurt just looking at the code. With SimpleXML, it became child’s play.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 David Powers

About this chapter

Cite this chapter

(2008). Simplexml—couldn’t Be Simpler. In: PHP Object-Oriented Solutions. Apress. https://doi.org/10.1007/978-1-4302-1012-2_6

Download citation

Publish with us

Policies and ethics