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 ... PHP5 offers an improved variety of XML parsing techniques. James Clark's Expat
SAX parser, now based on libxml2, is no longer the only fully functional game in
town. Parsing with the DOM, fully compliant with the W3C standard, is a familiar
option. Both SimpleXML, which you saw in Part 1 (see Related ...

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.

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 ...

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.

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 ...

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.

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 ...

IBM developerWorks : Technical library

Results 1 - 6 of 6 ... Follow along in this tutorial to import an XML file with Euro foreign exchange
rates into an IBM DB2 database and use special XQuery and SQL/XML functions
to split this XML into separate database rows. You will also create a PHP script
that pulls down new rates from the European Central Bank (ECB) ...

Develop, deploy, and manage your apps in the cloud

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