MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_xml2_getElementById

Function acl_xml2_getElementById

lib_acl/src/xml/acl_xml2_util.c:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190ACL_XML2_NODE *acl_xml2_getElementById(ACL_XML2 *xml, const char *id)
191{
192 ACL_XML2_ATTR *attr = acl_xml2_getAttrById(xml, id);
193
194 if (attr == NULL)
195 return NULL;
196 return attr->node;
197}
198ACL_XML2_NODE *acl_xml2_getElementMeta(ACL_XML2 *xml, const char *tag)
199{
200 ACL_ITER iter;

Callers 2

test_getElementByIdFunction · 0.85
getElementByIdMethod · 0.85

Calls 1

acl_xml2_getAttrByIdFunction · 0.85

Tested by 1

test_getElementByIdFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…