* xmlSchemaGetProp: * @ctxt: the parser context * @node: the node * @name: the property name * * Read a attribute value and internalize the string * * Returns the string or NULL if not present. */
| 4705 | * Returns the string or NULL if not present. |
| 4706 | */ |
| 4707 | static const xmlChar * |
| 4708 | xmlSchemaGetProp(xmlSchemaParserCtxtPtr ctxt, xmlNodePtr node, |
| 4709 | const char *name) |
| 4710 | { |
| 4711 | xmlChar *val; |
| 4712 | const xmlChar *ret; |
| 4713 | |
| 4714 | val = xmlGetNoNsProp(node, BAD_CAST name); |
| 4715 | if (val == NULL) |
| 4716 | return(NULL); |
| 4717 | ret = xmlDictLookup(ctxt->dict, val, -1); |
| 4718 | xmlFree(val); |
| 4719 | return(ret); |
| 4720 | } |
| 4721 | |
| 4722 | /************************************************************************ |
| 4723 | * * |
no test coverage detected