PHP Classes

convert array to xml: I need to convert array to XML

Recommend this page to a friend!
  All requests RSS feed  >  convert array to xml  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

convert array to xml

Edit

Picture of calmedica by calmedica - 10 years ago (2014-11-20)

I need to convert array to XML

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I want to take an array and convert it to XML format.

Ask clarification

1 Recommendation

XML Helper: Extract XML data into an array and vice-versa

This class can be used to extract XML data into an array and vice-versa.

It can parse a given XML document and return a nested array that describes the XML document structure and data.

The class can also do the opposite, i.e. take an array with a document structure and data and generate a XML document from it.

A full PHPUnit test suite is included. You'll need to have PHPUnit installed to use it.
This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 10 years ago (2014-11-30) Comment

There are many, many packages for converting arrays into XML documents.

This one comes with examples, documentation and is unit tested.


Recommend package
: 
: