Companjo

Companjo supports this item

Supported

5 comments found.

Is it possible to add attributes to a node (think of an “enclosure” node…)?

No that is not possible, but it’s a good idea for the next update.

I made an update.

Example of usage:
Array
    (
        'id' => 1,
        'title john="doe" jaap="kees"' => 'The title',
        'body' => 'This is my body.',
        'created' => '2013-03-28 10:00:06',
        'modified' => '2013-03-28 13:20:29',
        'rating' => '10',
    )
I’m gonna upload this update when i’m back at my office.

Uploaded

Can you let me know when you have the above updated in the script. And also can this be used to create webservices.

1. Yes i can, but if you buy this item you can download the update later. The Envato staff has to approve the update first, takes 2/3 days. And beside that i can sent you the updated version to your e-mail after your purchase.

2. Yes, it outputs an normal XML code. Other applications can use this.

Uploaded

Good job, this is a really useful script!

Hi. Can you briefly tell me what does it do?

Hi,

This is a class to create on a simple and easy way XML files using an Array.

An example how it works: http://dl.dropbox.com/u/19701113/codecanyon/arraytoxml/index.html

Hello can we encoding xml in utf-8 ?

Hi Aosmose,

Yes you can. Change “iso-8859-1” to “UTF-8” on line 6

by
by
by
by
by
by