Some more queries.
Now that I understand the structure.
Each node would have the following methods
- Attribute - Returns the value of Attr.
- Properties - which would return the names of properties e.g. name, gender , status for Node 1.
- Property - which given a property name returns the value of the property from the map.
- Children - which would return pointers to children
- NumChildren
Where do Value and HasValue come in now ?
The feeling that I get is it that it would be easier to parse the response and load the whole tree structure in memory.