* xmlSearchNs: * @doc: the document * @node: the current node * @nameSpace: the namespace prefix * * Search a Ns registered under a given name space for a document. * recurse on the parents until it finds the defined namespace * or return NULL otherwise. * @nameSpace can be NULL, this is a search for the default namespace. * We don't allow to cross entities boundaries. If you don't dec
| 6133 | * namespace is queried. |
| 6134 | */ |
| 6135 | xmlNsPtr |
| 6136 | xmlSearchNs(xmlDocPtr doc ATTRIBUTE_UNUSED, xmlNodePtr node, |
| 6137 | const xmlChar *nameSpace) { |
| 6138 | xmlNsPtr cur; |
| 6139 | |
| 6140 | xmlSearchNsSafe(node, nameSpace, &cur); |
| 6141 | return(cur); |
| 6142 | } |
| 6143 | |
| 6144 | /** |
| 6145 | * xmlNsInScope: |
no test coverage detected