xml_func.py: _first(): Fixed bug where need to choose the first non-empty param, by first pruning empty child nodes
xml_func.py: _first(): Fixed bug where need to choose the first non-empty param, by first pruning empty child nodes