* 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
| 6856 | * failed. It's up to the caller to free the memory with xmlFree(). |
| 6857 | */ |
| 6858 | xmlChar * |
| 6859 | xmlGetNsProp(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 | /** |
no test coverage detected