[xml] libxml2, xpath, accessing attribute value


I'm been experimenting with the xpath1.c program.  How does a person
access the value of an attribute?  I tried a few things that did not work and I
also read the man but that did not clarify the issue.

I know I'm trying to access an attribute because the last item of my xpath
is a '@example'.

appreciate the help,

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