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

Function xmlNodeGetBase

ThirdParty/libxml2/vtklibxml2/tree.c:5496–5502  ·  view source on GitHub ↗

* xmlNodeGetBase: * @doc: the document the node pertains to * @cur: the node being checked * * See xmlNodeGetBaseSafe. This function doesn't allow to distinguish * memory allocation failures from a non-existing base. * * Returns a pointer to the base URL, or NULL if not found * It's up to the caller to free the memory with xmlFree(). */

Source from the content-addressed store, hash-verified

5494 * It's up to the caller to free the memory with xmlFree().
5495 */
5496xmlChar *
5497xmlNodeGetBase(const xmlDoc *doc, const xmlNode *cur) {
5498 xmlChar *base;
5499
5500 xmlNodeGetBaseSafe(doc, cur, &base);
5501 return(base);
5502}
5503
5504/**
5505 * xmlNodeBufGetContent:

Callers 8

xmlconfTestItemFunction · 0.85
xmlSchematronLoadIncludeFunction · 0.85
xmlShellBaseFunction · 0.85
xmlRelaxNGCleanupTreeFunction · 0.85

Calls 1

xmlNodeGetBaseSafeFunction · 0.85

Tested by

no test coverage detected