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

Function xmlGetProp

ThirdParty/libxml2/vtklibxml2/tree.c:6802–6810  ·  view source on GitHub ↗

* xmlGetProp: * @node: the node * @name: the attribute name * * Search and get the value of an attribute associated to a node * This does the entity substitution. * This function looks in DTD attribute declaration for #FIXED or * default declaration values. * * NOTE: This function acts independently of namespaces associated * to the attribute. Use xmlGetNsProp() or xmlGetNoNsProp

Source from the content-addressed store, hash-verified

6800 * failed. It's up to the caller to free the memory with xmlFree().
6801 */
6802xmlChar *
6803xmlGetProp(const xmlNode *node, const xmlChar *name) {
6804 xmlAttrPtr prop;
6805
6806 prop = xmlHasProp(node, name);
6807 if (prop == NULL)
6808 return(NULL);
6809 return(xmlGetPropNodeValueInternal(prop));
6810}
6811
6812/**
6813 * xmlGetNoNsProp:

Callers 15

xmlParseXMLCatalogNodeFunction · 0.85
xmlParseXMLCatalogFileFunction · 0.85
xmlconfTestItemFunction · 0.85
xmlconfTestCasesFunction · 0.85
xmlconfTestSuiteFunction · 0.85
xhtmlNodeDumpOutputFunction · 0.85
xsdTestCaseFunction · 0.85
xstcMetadataFunction · 0.85
xmlRelaxNGRemoveRedefineFunction · 0.85
xmlRelaxNGLoadIncludeFunction · 0.85

Calls 2

xmlHasPropFunction · 0.85

Tested by

no test coverage detected