| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 2x | |||||||||||||||||||
| Classes of Dave | > | Hierachical Data Object | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||
| Groups | Dependencies | Applications | ||||||||
| Groups | ||
| XML | XML parsing and generation | View top rated classes | |
| Data types | Modeling and manipulating data types | View top rated classes |
| Innovation Award | ||
![]() September 2005 Number 5 Prize: One downloadable copy of Roadsend PHP Compiler |
XML documents can be seen as an hierarchic data structure defined by a set of nested tags and data. This class implements an abstraction that allows creating and accessing XML documents as an hierarchy of objects. The object variables are mapped to XML tag names and variable values to XML tag data. The object variables can be set or updated to change the XML document contents. Regenerating an updated XML document is a matter of calling a function to generate XML tags starting from the root object of the hierarchy. Loading a new XML document can be done passing the XML data to the class constructor. This object oriented approach makes it simpler to create and update XML documents of any complexity. Manuel Lemos |
| User ratings | ||
| There are not enough user ratings to display for this class. |
| Packages needed by this class | ||
| Class | Dependency | Why it is needed |
|---|---|---|
| DOMIT XML parser | for the xml transport process into and out of the HDObj |
| Applications that use this class | ||
| File | Role | Description |
|---|---|---|
| Data | data to use with the example script, for showing off the append_xml function | |
| Data | data to use with the example script test_hdobj.php | |
| Class | HDObject class file | |
| Doc. | Class documentation | |
| Class | logger base class | |
| Example | example usage script |
| Download all files: hdobj.tar.gz hdobj.zip |