File: |
xmlparser.class.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
The SimpleXmlParser class |
Class: |
SimpleXmlParser
Class to parse XML files |
Author: |
By Marcos Pont |
Last change: |
Added 4 methods in internal class XmlNode:
- hasChildren()
- getChildrenCount()
- &getChildren($index)
- getChildrenTagsArray()
The last method can be applied in the following XML structure:
<tag>
<foo>ABC</foo>
<baz>DEF</baz>
</tag>
If the method is applied to "<tag>" node, it will return an array indexed by the children names: "foo" and "baz" |
Date: |
21 years ago |
Size: |
9,764 bytes |
|
|
|