xml_root 2023 lib/common/xml.c xml_has_children(const xmlNode * xml_root) xml_root 2025 lib/common/xml.c if (xml_root != NULL && xml_root->children != NULL) {