how we can print the content of the element in a XML file using
libxml2
example:
this is my xml file
<record>
<firstname>myfile</firstname>
<lastname>yourfile</lastname>
</record>
know i want to print the content as "myfile" when
i give element firstname
as i m using libxml2 parser.
and i trying 'xpath1.c' given in www.xmlsoft.org code examples.
how can i do this
i m doing xpath2.c correctly.
thank u, in advance
hari