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

Function xmlGetNsList

ThirdParty/libxml2/vtklibxml2/tree.c:5978–5985  ·  view source on GitHub ↗

* xmlGetNsList: * @doc: the document * @node: the current node * * Find all in-scope namespaces of a node. * * Use xmlGetNsListSafe for better error reporting. * * Returns a NULL terminated array of namespace pointers that must * be freed by the caller or NULL if no namespaces were found or * a memory allocation failed. */

Source from the content-addressed store, hash-verified

5976 * a memory allocation failed.
5977 */
5978xmlNsPtr *
5979xmlGetNsList(const xmlDoc *doc, const xmlNode *node)
5980{
5981 xmlNsPtr *ret;
5982
5983 xmlGetNsListSafe(doc, node, &ret);
5984 return(ret);
5985}
5986#endif /* LIBXML_TREE_ENABLED */
5987
5988static xmlNsPtr

Callers 2

xmlGetPropNodeInternalFunction · 0.85

Calls 1

xmlGetNsListSafeFunction · 0.85

Tested by

no test coverage detected