Lines Matching defs:refNode
144 domXPathFind( xmlNodePtr refNode, xmlChar * path ) {
147 if ( refNode != NULL && path != NULL ) {
152 xmlNodePtr froot = refNode;
159 if ( refNode->doc == NULL ) {
176 refNode->doc = tdoc;
180 ctxt = xmlXPathNewContext( refNode->doc );
181 ctxt->node = refNode;
183 if (refNode->type == XML_DOCUMENT_NODE) {
184 ctxt->namespaces = xmlGetNsList( refNode->doc,
185 xmlDocGetRootElement( refNode->doc ) );
188 ctxt->namespaces = xmlGetNsList(refNode->doc, refNode);
217 /* refNode->doc = NULL; */
226 domXPathSelect( xmlNodePtr refNode, xmlChar * path ) {
230 res = domXPathFind( refNode, path );