downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Introduction> <wddx_serialize_vars
[edit] Last updated: Fri, 26 Apr 2013

view this page in

XML Parser



Introduction> <wddx_serialize_vars
[edit] Last updated: Fri, 26 Apr 2013
 
add a note add a note User Contributed Notes XML Parser - [3 notes]
up
0
pavel dot lishin at gmail dot com
3 years ago
If you're wanting to actually work with XML data as it was intended, treating it as a tree, try http://us2.php.net/manual/en/book.simplexml.php .
up
-3
nat
3 years ago
An event-based parser such XML Parser is preferable for large files, because tree-based parsers must fully load the file into memory in order to parse the XML. Event-based parsers do not need to load the entire file into memory to begin parsing.
up
-5
marcgear at gmail dot com
2 years ago
While this SAX event based parser is better for memory management than the tree based parsers of SimpleXML and DOM, the pull-based parser XMLReader is much easier to use than the xml_parser_* functions, and still doesn't require loading the file into memory.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites