libxml suggestion
BlitzMax Forums/Brucey's Modules/libxml suggestion
| ||
The getChildren:TList() method should, if there are no children, return an empty TList rather than Null. It would simplify some code, as if an xml document is missing some nodes it won't crash my program :) |
| ||
cant you put "if getchildren<>null" ? or local listy:Tlist=getchildren if listy<>null dostuff() endif Last edited 2011 |
| ||
I can put I want to do this:For Local o_node:TxmlNode = EachIn root_node.getChildren() Without needing to check if the list is null all the time. The function returns a list of children. If there are no children, it should return an empty list. A list of zero children is different to no list. |
| ||
that would be really nice :) |