Hi,

I'm using libxml2 Version: 2.6.29 on fc7, with the xpath functionality,
to parse an XML document.

My code so far (http://www.pastebin.ca/795057) seems to do what I want
(although it seems as if I'm taking the long way to get the element
values; there an easier way?)

Line 83 shows an attempt to fetch the name of the root element, but I'm
not getting any results.  What's the approach to fetching the name of an
element in libxml2's xpath support?

Thanks in advance.

..Tom


=========================
Tom Kralidis
Senior Systems Scientist
Environment Canada
Tel: +01-905-336-4409
http://www.ec.gc.ca/
 
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to