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

Function xmlGetNsProp

ThirdParty/libxml2/vtklibxml2/tree.c:6858–6866  ·  view source on GitHub ↗

* xmlGetNsProp: * @node: the node * @name: the attribute name * @nameSpace: the URI of the namespace * * Search and get the value of an attribute associated to a node * This attribute has to be anchored in the namespace specified. * This does the entity substitution. * This function looks in DTD attribute declaration for #FIXED or * default declaration values. * * NOTE: This function

Source from the content-addressed store, hash-verified

6856 * failed. It's up to the caller to free the memory with xmlFree().
6857 */
6858xmlChar *
6859xmlGetNsProp(const xmlNode *node, const xmlChar *name, const xmlChar *nameSpace) {
6860 xmlAttrPtr prop;
6861
6862 prop = xmlGetPropNodeInternal(node, name, nameSpace, 1);
6863 if (prop == NULL)
6864 return(NULL);
6865 return(xmlGetPropNodeValueInternal(prop));
6866}
6867
6868#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
6869/**

Callers 2

xmlParseXMLCatalogNodeFunction · 0.85
xlinkIsLinkFunction · 0.85

Calls 2

xmlGetPropNodeInternalFunction · 0.85

Tested by

no test coverage detected