Posted in Python

How to convert XML to CSV using Python

In this example you are going to see how you can convert XML data into CSV data. XML is an Extensible Markup Language and CSV is Comma Separated Values. In this example I am going to read both XML file and XML string and show you how to display the converted csv string data in console as well as in…

Continue Reading... How to convert XML to CSV using Python
Posted in Python

Modifying XML using Python

Introduction Modifying XML using Python programming language means updating or modifying an existing XML file or XML string using Python. Extensible Markup Language (XML) are the most widely used formats for data, because this format is very well supported by modern applications, and is very well suited for further data manipulation and customization. Therefore it is sometimes required to generate…

Continue Reading... Modifying XML using Python
Posted in Python

Parsing XML using Python

Introduction Parsing XML using Python is a matter of few lines of code has to be written.  The XML could be in a file or XML could be a string. So basically parsing XML using Python means reading the XML node data and further doing something with those data to use in our application. Extensible Markup Language (XML) are the most…

Continue Reading... Parsing XML using Python
Posted in PHP

How to Convert XML to CSV using PHP

Introduction The example, convert xml to csv using PHP , shows conversion of xml data to csv data. As the title suggests to convert xml to csv using PHP, so I will convert either xml file to csv file or xml string to csv string. When I convert xml string to csv string you will see the output on the browser…

Continue Reading... How to Convert XML to CSV using PHP