/* * count node children * if name given, count children with this name * if name + ns given, count children with this namespace and name */ int size(const char *name = NULL, const char *ns = NULL) {