* xmlGetNoNsProp: * @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. * This function is similar to xmlGetProp except it will accept only * an attribute in no namespace. * * NOTE: This function d
| 6828 | * failed. It's up to the caller to free the memory with xmlFree(). |
| 6829 | */ |
| 6830 | xmlChar * |
| 6831 | xmlGetNoNsProp(const xmlNode *node, const xmlChar *name) { |
| 6832 | xmlAttrPtr prop; |
| 6833 | |
| 6834 | prop = xmlGetPropNodeInternal(node, name, NULL, 1); |
| 6835 | if (prop == NULL) |
| 6836 | return(NULL); |
| 6837 | return(xmlGetPropNodeValueInternal(prop)); |
| 6838 | } |
| 6839 | |
| 6840 | /** |
| 6841 | * xmlGetNsProp: |
no test coverage detected