* xmlSearchNsByHref: * @doc: the document * @node: the current node * @href: the namespace value * * Search a Ns aliasing a given URI. Recurse on the parents until it finds * the defined namespace or return NULL otherwise. * * Returns the namespace pointer or NULL if no namespace was found or * a memory allocation failed. Allocations can only fail if the "xml" * namespace is queried.
| 6289 | * namespace is queried. |
| 6290 | */ |
| 6291 | xmlNsPtr |
| 6292 | xmlSearchNsByHref(xmlDocPtr doc ATTRIBUTE_UNUSED, xmlNodePtr node, |
| 6293 | const xmlChar * href) { |
| 6294 | xmlNsPtr cur; |
| 6295 | |
| 6296 | xmlSearchNsByHrefSafe(node, href, &cur); |
| 6297 | return(cur); |
| 6298 | } |
| 6299 | |
| 6300 | /** |
| 6301 | * xmlNewReconciledNs: |
no test coverage detected