File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11lib-array2xml
22=============
33
4- Array2XML conversion library credit to lalit.org
4+ Array2XML conversion library credit to lalit.org
5+
6+ Usage
7+ ----
8+ ``` php
9+ ld('array2xml');
10+
11+ //create XML
12+ $xml = Array2XML::createXML('root_node_name', $php_array);
13+ echo $xml->saveXML();
14+
15+ //create Array
16+ $array = XML2Array::createArray($xml);
17+ print_r($array);
18+ ```
19+
20+ Reference
21+ ----
22+ More complete references can be found here
23+ http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/
24+ http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes/
25+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " openlss/lib-array2xml"
3+ ,"homepage" : " http://openlss.org"
4+ ,"description" : " Array2XML conversion library credit to lalit.org"
5+ ,"license" : " Apache-2.0"
6+ ,"type" : " library"
7+ ,"keywords" : [
8+ " array"
9+ ," xml"
10+ ," xml conversion"
11+ ," array conversion"
12+ ]
13+ ,"authors" : [
14+ {
15+ "name" : " Bryan Tong"
16+ ,"email" : " contact@nullivex.com"
17+ ,"homepage" : " http://bryantong.com"
18+ }
19+ ,{
20+ "name" : " Tony Butler"
21+ ,"email" : " spudz76@gmail.com"
22+ ,"homepage" : " http://openlss.org"
23+ }
24+ ]
25+ ,"require" : {
26+ "php" : " >=5.3.2"
27+ }
28+ }
You can’t perform that action at this time.
0 commit comments