September 2001
Intermediate to advanced
768 pages
32h 45m
English
int int xml_parse_into_struct(resource parserID, string xmldata, array &values, array &indexes)
| parserID | Reference to a valid parser |
| xmldata | XML data to be parsed |
| &values | Values of the xmldata |
| &indexes | Array of pointers to values |
Parses XML data into values and indexes. These arrays are passed by reference.
Returns:
TRUE on success; FALSE on error
Description:
Parses XML data into two parallel array structs: values and indexes. These arrays are passed by reference. The resulting arrays can be used to construct the format of the XML document. For examples of creating trees from these structs, go to www.php.net and look under user contributed notes for this function.
Version:
PHP 3 >= 3.0.8, PHP 4 >= 4.0b1
Example: ...
Read now
Unlock full access