Convert JSON to XML using PHP

Barely five steps to convert a JSON file to an XML file with php. The main idea is to read the JSON file, decode it's data, create an XML object, loop...

 

Convert XML to JSON in PHP

Load the XML file, format according to the requirement, encode to a JSON format, and generate or save the JSON file. That's four simple steps to conve...

 

Read XML files using jQuery

Quickly read and parse XML files with jQuery, no server side scripting required. For example. The sample XML file that is used on this tutorial can ...

 

Read XML files in PHP

Parse XML files using simplexml_load_file() in php. For example. The XML file used on this example was from the generated XML file named members.xml...

 

Create an XML file with PHP

Create XML files using SimpleXMLElement in PHP. For example. Dynamically generate an XML file on the fly. //prepare the data $members = array( ...