Subscribe
Tutorial search

PHP XML Tutorials


We hope that you will enjoy our PHP XML tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own PHP XML tutorial to our site. Thank you !

Sort by:
PHP DomDocument Tutorial
PHP DomDocument Tutorial
This will be a quick tutorial that will show you how to use PHP’s DOMDocument to parse your XML so you do not have to use XML parser. In this tutorial you’ll see how to loop through your XML file and how to extract some specific data. For this, we will use XML file that is available on w3school.com.
Difficulty:
RSS Feed Generation with PHP
RSS Feed Generation with PHP
An article that gives a summary of RSS before providing a sample solution that'll allow you to easily create an RSS feed that your site visitors can subscribe to.
Difficulty:
Google Weather API
Google Weather API
Every web designer has at one point or another been asked, "How can I get weather on my site?" The old answer was to have a giant ugly weather channel gadget. Something that looked very nasty and you couldn't un-brand it no matter what. Some used an iframe to display external data and have it appear to be on their site. Lastly you could always just have a link that says 'click here for weather'. My goal was to get weather data from an external source and be able to customize how it looks. Fortunately now there are some great resources out there. I'm going with one that is my favorite, something extremely easy to use and customize - Google's Weather API.
Difficulty:
PHP and XML
PHP and XML
This tutorial guides you thru the possibilities of an XML manipulation by the PHP. PHP XML extensions are listed, commented and fully working explanatory PHP source code of mini RSS feed reader is included.
Difficulty:
Easy Dynamic RSS Feed in PHP/MySQL
Easy Dynamic RSS Feed in PHP/MySQL
Create an RSS feed that automatically gets the latest articles from your database in PHP and displays it in RSS syntax instantly.
Difficulty:
The clear advantages of XQuery over PHP and JSP
The clear advantages of XQuery over PHP and JSP
Like Structured Query Language (SQL), XQuery is a lookup specification tied to the XML standard. Using XML as the model and XQuery as the view is a powerful way to provide a language-agnostic solution while still retaining the benefits of using the MVC pattern. In this article, explore the advantages of XQuery over other view technologies (PHP, JSP), how XQuery is implemented in the presentation layer, and a realistic example of such an implementation.
Difficulty:
Introduction to XML and Web Services
Introduction to XML and Web Services
The Extensible Markup Language (XML) is a simple, platform-independent standard for describing data within a structured format. XML is not a language but instead a metalanguage that allows you to create markup languages. In layman’s terms, it allows data to be tagged using descriptive names so both humans and computer applications can understand the meaning of different pieces of data.
Difficulty:
Create a framework to support XSLT transformation pipelines
Create a framework to support XSLT transformation pipelines
The Butterfly framework is a lightweight approach to simplifying the use of XSLT in PHP 5, allowing for the use of stylesheet chains and caching for performance. As frameworks go it's simple and straightforward, but such a framework removes the mechanics of XSLT stylesheet application from the PHP code, allowing the developer to focus on the heart of the work, which is the XSLT itself.
Difficulty:
Customize a Google Maps result page with Google Mapplets
Customize a Google Maps result page with Google Mapplets
A Google Mapplet is an application that runs inside a Google Maps results page and lets you add your own custom information to the page and the map. In this tutorial, you will write a Google Mapplet that uses the Yahoo Weather RSS feed to display the local weather in Google Maps. You will apply two solutions. The first is on the client side and uses RSS and JavaScript. The second is on the server side and uses XSLT, PHP, KML, and JavaScript.
Difficulty:
Separate content from presentation with XSLT and SimpleXML
Separate content from presentation with XSLT and SimpleXML
Over the years, developers have devised many strategies to facilitate the separation of business logic and presentation logic. In this tutorial, you will explore two solutions to separating data and business logic from presentation logic: one using XSLT through the XSL module in PHP 5 and the other using the SimpleXML module in PHP 5. To do this, you'll use a Web page for a personal resume stored as an XML file as an example.
Difficulty:
Develop PHP apps with Picasa Web Albums
Develop PHP apps with Picasa Web Albums
In this article, learn how to integrate data from the Picasa Web Albums service into a PHP application using both SimpleXML and the Zend client library. Also, meet the Picasa Web Albums Data API and see how you can use it to retrieve photos and photo metadata; add, modify and delete photos; and perform keyword searches of Picasa's user-generated content.
Difficulty:
Simple RSS Parsing
Simple RSS Parsing
This tutorial will show you how to parse an RSS feed. You may think it is a very complicated process however it can be done with only a few lines of code.
Difficulty:
Retrieving an RSS Feed in PHP
Retrieving an RSS Feed in PHP
Learn how to retrieve the contents of an xml feed and print the results to a browser using the foreach function.
Difficulty:
Integrate your PHP application with Google Calendar
Integrate your PHP application with Google Calendar
This article introduces the Google Calendar Data API, demonstrates how you can use it to browse user-generated calendars; add and update calendar events; and perform keyword searches. Also, it illustrates how to integrate data from the Google Calendar service into a PHP application using both SimpleXML and the Zend client library.
Difficulty:
Pixel2Life on Google Mail - Integrating the P2L RSS feeds with GMail!
Pixel2Life on Google Mail - Integrating the P2L RSS feeds with GMail!
Pixel2Life on Google Mail - Integrating the P2L RSS feeds with GMail!
Difficulty:
Total Tutorials in Category: 61