vijayjoshi.org - php | javascript | ajax | and all things web

Posts Tagged ‘xml’

Working with XML Documents in PHP and jQuery

December 23rd, 2010 | Posted by Vijay Joshi | No Comments
Here is one more sample chapter from my book. It explains reading, writing and editing XML files with PHP and jQuery. Below are the chapter contents. Loading XML from files and ...

Guys, I am writing a book

November 22nd, 2010 | Posted by Vijay Joshi | 6 Comments
Yes that’s right and it is called PHP jQuery Cookbook.  As the name suggests, it’s about creating rich internet applications using 2 of my favorite technologies – PHP and jQuery. I ...

Creating an XML in PHP using DOMDocument

November 27th, 2009 | Posted by Vijay Joshi | 1 Comment
In this tutorial you will learn how to create XML documents using PHP’s DOMDocument class. First things first.There are 3 things that you should always keep in mind about XML. In ...

Quick PHP Tip: How to parse CDATA sections using SimpleXML

September 22nd, 2009 | Posted by Vijay Joshi | 3 Comments
Applies to:  simplexml_load_string and simplexml_load_file Problem : SimpleXML does not parse text inside CDATA tags in an XML. Consider the XML below: $str = ''; $str.='some text goes here'; $str.=''; To parse it we use following ...