470,848 Members | 1,627 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

print the content of a element in a xml file using libxml2 parser.

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
Jun 27 '08 #1
0 1592

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by laura | last post: by
6 posts views Thread by Dave Kuhlman | last post: by
1 post views Thread by cesar.ortiz | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.