MCPcopy Index your code
hub / github.com/MapServer/MapServer / msLibXml2GetXPath

Function msLibXml2GetXPath

maplibxml2.c:80–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 */
79
80xmlXPathObjectPtr msLibXml2GetXPath(xmlDocPtr doc, xmlXPathContextPtr context, xmlChar *xpath) {
81 xmlXPathObjectPtr result;
82 result = xmlXPathEval(xpath, context);
83 if (result == NULL) {
84 return NULL;
85 }
86 if(xmlXPathNodeSetIsEmpty(result->nodesetval)){
87 xmlXPathFreeObject(result);
88 return NULL;
89 }
90 return result;
91}
92
93/**
94 * msLibXml2GetXPathTree

Callers 1

msSOSParseRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected