RE: [libxml++] how do i get just one result from the domparser



> i would like to be able get the
> data out 
> of 1 certain node-element for eg the value of "DOWNLOADS" out 
> of "normal
> billable traffic".

Maybe Xpath would help you. For instance, see the Node::find() method:
http://libxmlplusplus.sourceforge.net/reference/html/classxmlpp_1_1Node.html
#a14
demonstrated here:
http://cvs.sourceforge.net/viewcvs.py/libxmlplusplus/libxml%2B%2B/examples/d
om_xpath/main.cc?view=markup

Murray Cumming
www.murrayc.com
murrayc usa net




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