2017 © Pedro Peláez
 

package xml2readablearray

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

image

ermst4r/xml2readablearray

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  • Saturday, February 18, 2017
  • by ermisnomore
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Xml2ReadableArray

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string., (*1)

Usage, (*2)

Lets say you want to parse an xml file without worrying about parsing. You can use this facade convert the following xml string to a array string, (*3)

<root> <node> </node> <node1> </node1> <node2 id="1337"> </node2> </root>, (*4)

The string above will be converted to:, (*5)

1.root.node, (*6)

2.root.node1, (*7)

3.root.node2, (*8)

4.root.node.id, (*9)

Later in your project you can call the elements via an array notation, (*10)

Example, (*11)

Open the xml file 1. $XmlFacade = new XmlMappingFacade('xml_file'); 2. Lets convert it to an string (root.node etc.) print_r($XmlFacade->showXmlMapping());, (*12)

The Versions

18/02 2017

1.0.3

1.0.3.0

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

 

by Erwin Nandpersad

18/02 2017

1.0.3.x-dev

1.0.3.9999999-dev

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

 

by Erwin Nandpersad

18/02 2017

1.0.2.x-dev

1.0.2.9999999-dev

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

 

by Erwin Nandpersad

18/02 2017

1.0.2

1.0.2.0

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

 

by Erwin Nandpersad

18/02 2017

1.0.1.x-dev

1.0.1.9999999-dev

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

The Development Requires

by Erwin Nandpersad

18/02 2017

1.0.1

1.0.1.0

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

The Development Requires

by Erwin Nandpersad

18/02 2017

dev-master

9999999-dev

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

The Development Requires

by Erwin Nandpersad

18/02 2017

1.0

1.0.0.0

Convert xml to an array string (node1.node2.node3), so you can retrieve them via an multidimensional array by splitting the string.

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

The Development Requires

by Erwin Nandpersad