logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: Re: xpath tutorial example: msg#00166

Subject: RE: Re: xpath tutorial example
> From: Phlip [mailto:phlipcpp@xxxxxxxxx] 
> > I'm adding an xpath example to the tutorial.
> > Draft posted here:
> > http://www.inkstain.net/fleck/tutorial/ar01s05.html
> > Feedback encouraged.
> 
> You need a warning label the code is C.

Of course it's C. libxml is a C API.

> I started checking it 
> for C++ style
> and ... it failed ;-)

We wrap libxml's xpath in libxml++. See Node::find():
http://libxmlplusplus.sourceforge.net/reference/html/classxmlpp_1_1Node.html
#\
(not very well documented)

Murray Cumming
murrayc@xxxxxxx
www.murrayc.com 


<Prev in Thread] Current Thread [Next in Thread>