Lines Matching refs:ns
207 if (cur->ns == oldNs) in lcl_nsexchange()
208 cur->ns = newNs; in lcl_nsexchange()
214 if (curAttr->ns == oldNs) in lcl_nsexchange()
215 curAttr->ns = newNs; in lcl_nsexchange()
234 if (curAttr->ns != NULL) in nscleanup()
236 xmlNsPtr ns = xmlSearchNs(cur->doc, aParent, curAttr->ns->prefix); in nscleanup() local
237 if (ns != NULL) in nscleanup()
238 curAttr->ns = ns; in nscleanup()
247 if (cur->ns != NULL) in nscleanup()
249 xmlNsPtr ns = xmlSearchNs(cur->doc, aParent, cur->ns->prefix); in nscleanup() local
250 if (ns != NULL && ns != cur->ns && strcmp((char*)ns->href, (char*)cur->ns->href)==0) in nscleanup()
256 ns = xmlSearchNs(cur->doc, aParent, curDef->prefix); in nscleanup()
257 … if (ns != NULL && ns != curDef && strcmp((char*)ns->href, (char*)curDef->href)==0) in nscleanup()
261 lcl_nsexchange(cur, curDef, ns); in nscleanup()
497 m_aNodePtr->ns != NULL) in getNamespaceURI()
499 const xmlChar* xHref = m_aNodePtr->ns->href; in getNamespaceURI()
612 m_aNodePtr->ns != NULL) in getPrefix()
614 const xmlChar* xPrefix = m_aNodePtr->ns->prefix; in getPrefix()
994 if (m_aNodePtr != NULL && m_aNodePtr->ns != NULL) in setPrefix()
996 xmlFree(const_cast<xmlChar *>(m_aNodePtr->ns->prefix)); in setPrefix()
997 m_aNodePtr->ns->prefix = xmlStrdup(pBuf); in setPrefix()