MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlSearchNs

Function xmlSearchNs

ThirdParty/libxml2/vtklibxml2/tree.c:6135–6142  ·  view source on GitHub ↗

* xmlSearchNs: * @doc: the document * @node: the current node * @nameSpace: the namespace prefix * * Search a Ns registered under a given name space for a document. * recurse on the parents until it finds the defined namespace * or return NULL otherwise. * @nameSpace can be NULL, this is a search for the default namespace. * We don't allow to cross entities boundaries. If you don't dec

Source from the content-addressed store, hash-verified

6133 * namespace is queried.
6134 */
6135xmlNsPtr
6136xmlSearchNs(xmlDocPtr doc ATTRIBUTE_UNUSED, xmlNodePtr node,
6137 const xmlChar *nameSpace) {
6138 xmlNsPtr cur;
6139
6140 xmlSearchNsSafe(node, nameSpace, &cur);
6141 return(cur);
6142}
6143
6144/**
6145 * xmlNsInScope:

Callers 9

xmlSchemaLookupNamespaceFunction · 0.85
xmlSchemaValAtomicTypeFunction · 0.85
xlinkIsLinkFunction · 0.85
xmlRelaxNGCleanupTreeFunction · 0.85

Calls 1

xmlSearchNsSafeFunction · 0.85

Tested by

no test coverage detected