Re: [xml] using xpath on subtree in TextReader
- From: Daniel Veillard <veillard redhat com>
- To: Nguon Hao Ching <hao magnushost com>
- Cc: xml gnome org
- Subject: Re: [xml] using xpath on subtree in TextReader
- Date: Mon, 4 Oct 2004 16:02:48 -0400
On Mon, Oct 04, 2004 at 03:33:53PM -0400, Nguon Hao Ching wrote:
In the tutorial for TextReader (http://xmlsoft.org/xmlreader.html),
a Python example is shown for using XPath on the subtree returned by
xmlTextReaderExpand, if I understand correctly. However, I am
struggling to find the equivalent way to use an XPath query on the
resulting node in C.
get the node from the reader, then use the normal XPath APi on the
returned node/doc:
http://xmlsoft.org/examples/index.html#xpath1.c
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]