[xml] Confused newbie...





I'm trying to get a feel for how the libxml2 data structure is set up.  I'm
using the example.xml from the xmlsoft.org web page as my source.

I can open the the file no problem.
When I do doc->children->name I get "EXAMPLE".  Great. But,
when I do doc->children->children->name I get "text".  I was expecting "head" as
stated by the web page.

What am I doing wrong?

Thanks.







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