News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Bending XML to Your Will
January 26, 2012 @ 11:04:44

PHPMaster.com has a new tutorial posted today about "bending XML to your will" - working with XML data using the XML Parser and SimpleXML functionality already included with PHP.

If you've ever worked with the Twitter or Facebook APIs, looked at RSS feeds from a website, or made use of some type of RPC calls, you've undoubtedly experienced working with XML. [...] Knowing how to process XML data is a crucial programming skill today, and thankfully, PHP offers multiple ways to read, filter, and even generate XML. In this article I'll explain what exactly XML is, in case you haven't had any experience with it yet, and then dive into a few ways you can use PHP to bend XML to your will.

He introduces the concepts and syntax behind XML first for those not accustomed and quickly moves into the tools to parse it. First he looks at the XML Parser, an event-based parser, and SimpleXML, an easy way to access the contents of a well-formed XML document. Snippets of code are provided for each to show you how to put them into practice.

0 comments voice your opinion now!
xml tutorial parse eventbased simplexml introduction


blog comments powered by Disqus

Similar Posts

YensDesign.com: How to Validate Forms in both sides using PHP and jQuery

KillerPHP.com: Zend Framework Components Part 2: Zend_View

PHPMaster.com: In My Language, Please! - Translating WordPress Themes and Plugins

Digett.com: How to Theme the Comment Form in Drupal 6

Till Klampaeckel's Blog: Yahoo: oauth_problem=consumer_key_rejected


Community Events

Don't see your event here?
Let us know!


introduction podcast release laravel extension version list opinion security series laravel5 api interview language php7 library community framework voicesoftheelephpant example

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework