Re: [xml] Tutorial Troubles?



On Sun, Nov 17, 2002 at 09:42:56AM -0500, Andrew Perez-Lopez wrote:
Hi all,

I'm trying to use libxml as an HTML parser for a project of mine, and
I'm running into some strange problems traversing the tree generated by
a call to:  

htmlParseFile(filename, NULL);

It seems that when I try to use xmlNodePtr's to get around the tree
after the return, I get a lot of null pointers.  For instance, if the
following code works:

  make sure ... no SURE ... that you compile and link against libxml2.
Use xml2-config ...

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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