... parse it to build an array structure value. The class can also do the opposite, i.e. generate a JSON or XML document from an array value. PHP JSON XML Array String Interchanger Support forum phpjsonxmlarraystrin Convert variable values to JSON and XML formats Class Source Example Script Site Meter ...
XML 2 Array Support forum xml2array Parse an XML document into an array XPATH indexed This is a simple class can parse a XML document file and build an associative array from its elements. The resulting array has as indices the XPATH location of the document data elements. description Auxiliary ...
Adv XML to Array Support forum adv_xml2array transform xml 2 array, keep ns, attributes, ... This class can transform XML data to an array and vice-versa using DOM XML API. It preserves encoding, namespaces and attributes. It is mainly used for creating XML documents from data taken from HTML forms ...
Clean XML To Array Support forum cleanxmltoarray Parse a XML document into a nested array This class can be used to parse XML documents. It parses the XML document from a file or string, and builds an nested array with nodes for each document tag. documentation how to use this class An alternative ...
Array to XML Support forum arraytoxml Generate XML documents from associative arrays This class be used to generate XML documents from associative arrays. It traverses an associative array recursively. Array element keys are converted into XML tags. Array element string values are converted into ...
Associative array to XML Support forum assoc_array2xml Convert XML documents into arrays and vice-versa This class can parse a XML document and build an array structure with the information of the tags and data of the document. The class can also generate a XML document from using the entry keys ...
XML Array Support forum xmlarray Store and retrieve arrays from XML documents This class can store an array of strings in a XML document. The class can also do the opposite, which is to parse a XML document and return an array of strings stored in it. The class uses PHP DOM XML API to generate and ...
Path To XML Support forum path_to_xml Generate XML from directory listing This package can be used to generate XML documents from directory listings. There are two classes: one to generate a XML document from an array, and a sub-class to traverse a directory recursively and build an array from the ...
- Parses arbitrary XML input and builds an array with the structure of all tag and data elements. - It can validate and extract data from a whole XML document with just a single call. It supports validationg common tag value data types and can perform custom validations using a subclass. - Optionally ...
This class can convert between XML files and arrays or strings. It can parse a XML file into a DOM document object, so it can be returned as an array or displayed using a XSL stylesheet. The parsed XML document can also be manipulated to add, change or remove nodes. Nodes may be searched using XPath ...