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

Function acl_xml3_getElementMeta

lib_acl/src/xml/acl_xml3_util.c:196–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 return attr->node;
195}
196ACL_XML3_NODE *acl_xml3_getElementMeta(ACL_XML3 *xml, const char *tag)
197{
198 ACL_ITER iter;
199 ACL_XML3_NODE *node;
200
201 acl_foreach(iter, xml) {
202 node = (ACL_XML3_NODE*) iter.data;
203 if ((node->flag & ACL_XML3_F_META_QM) == 0 || node->ltag == NULL)
204 continue;
205 if (strcasecmp(tag, node->ltag) == 0)
206 return node;
207 }
208
209 return NULL;
210}
211
212const char *acl_xml3_getEncoding(ACL_XML3 *xml)
213{

Callers 3

test1Function · 0.85
acl_xml3_getEncodingFunction · 0.85
acl_xml3_getTypeFunction · 0.85

Calls 1

acl_foreachFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…