Lines Matching refs:xmlNode
49 static bool TagNameEquals(const xmlNode* node, const char* expected_name, in TagNameEquals()
58 static std::vector<xmlNode*> GetChildren(xmlNode* root, xmlNs* xml_namespace, in GetChildren()
60 std::vector<xmlNode*> result; in GetChildren()
61 for (xmlNode* child = root->children; child != NULL; child = child->next) { in GetChildren()
71 static std::string GetAttribute(xmlNode* node, const char* attribute_name) { in GetAttribute()
112 static xmlNs* GetNamespace(xmlNode* node, const char* expected_href) { in GetNamespace()
126 static bool ParseSingleAppTag(xmlNode* app_node, xmlNs* xml_namespace, in ParseSingleAppTag()
137 std::vector<xmlNode*> updates = GetChildren(app_node, xml_namespace, in ParseSingleAppTag()
147 xmlNode *updatecheck = updates[0]; in ParseSingleAppTag()
218 xmlNode *root = xmlDocGetRootElement(document.get()); in Parse()
244 std::vector<xmlNode*> daystarts = GetChildren(root, gupdate_ns, "daystart"); in Parse()
246 xmlNode* first = daystarts[0]; in Parse()
255 std::vector<xmlNode*> apps = GetChildren(root, gupdate_ns, "app"); in Parse()