XML for PHP developers, Part 1: The 15-minute PHP-with-XML starter

Feb 27, 2007 ... This first article of a three-part series introduces PHP5's XML implementation and
helps those relatively new to using XML with PHP to read, parse, and manipulate,
and write a short and uncomplicated XML file using the DOM and SimpleXML in
a PHP environment.

Reading and writing the XML DOM with PHP

Dec 6, 2005 ... Myriad techniques are available for reading and writing XML in PHP. This article
presents three methods for reading XML: using the DOM library, using the SAX
parser, and using regular expressions. Writing XML using DOM and PHP text
templating will also be covered.

XML for PHP developers, Part 2: Advanced XML parsing techniques

Mar 6, 2007 ... This second article in a three-part series will discuss XML parsing techniques of
PHP5, focusing on parsing large or complex XML documents. It will offer some
background about parsing extensions and, specifically, what parsing methods
are best suited to what types of XML documents and why.

Pull parsing XML in PHP

Jan 30, 2007 ... Discover the XMLReader library, which is bundled with PHP 5 and enables PHP
pages to process XML documents in an efficient streaming mode.

Learning PHP, Part 2: Upload files and use XML or JSON to store ...

Jan 3, 2013 ... This tutorial is Part 2 of a three-part 'Learning PHP' series teaching you how to
use PHP through building a simple workflow application. Take this tutorial if you
have a basic understanding of PHP and want to learn about uploading files from
the browser, sessions, or using PHP to process XML or JSON.

Using XPath with PHP

Sep 27, 2011 ... If your PHP applications perform beyond CRUD operations, chances are you
have worked with XML. Navigating an XML document or data stream for the
desired data elements can be cumbersome, though, and even somewhat
intimidating for PHP developers. It can be especially overwhelming when the ...

XML for PHP developers, Part 3: Advanced techniques to read ...

Mar 13, 2007 ... The tree-based parsers include SimpleXML, the DOM, and the XSLT processor. If
you are familiar with the DOM from other languages, you will have an easier time
coding with similar functionality in PHP than before. The stream-based parsers
include the Simple API for XML (SAX) and XMLReader.

Validating XML in PHP

Nov 10, 2009 ... PHP developers commonly require the services of an Extensible Markup
Language (XML) parser in their code. Along these lines, they frequently find it
necessary to validate XML input. Fortunately, you can easily accomplish this in
PHP. This article shows you how to validate XML documents within PHP ...

Convert XML to JSON in PHP

Jan 16, 2007 ... With the growing popularity of Web 2.0, a new data interchange format called
JavaScript Object Notation (JSON) is emerging as a useful way to represent data
in the business logic running on browsers. Learn how PHP-based server
programs can convert XML-formatted enterprise application data into ...

Use DB2 native XML with PHP

Oct 27, 2005 ... You will be able to use PHP with the native XML capability coming in the next
version of DB2 UDB to develop Web apps with a smaller code size, reduced
complexity, simpler relational schema, and better management of schema
evolution as business requirements change. This article illustrates the ...

Develop, deploy, and manage your apps in the cloud

The IBM Cloud platform has everything you need to get started.