Re: [xml] Xpath Question



"Martin Trappel" <0xCDCDCDCD gmx at> wrote in message news:48FDCF14 5000808 gmx at
Alistair Leslie-Hughes wrote:

xmlDocPtr doc;
...
xpctxt = xmlXPathNewContext(doc);
xpobj = xmlXPathEvalExpression("/string", xpctxt);
if(xpobj->nodesetval->nodeNr)
  xmlNodePtr string_root_node = nodeSet->nodeTab[0];
...

Hi Martin,
  Thanks.  Thats what I was expecting.

Best Regards
Alistair Leslie-Hughes




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]