Re: [xml] search for a match in the tree and return a node pointer
- From: Stefan Seefeld <seefeld sympatico ca>
- To: xml gnome org
- Subject: Re: [xml] search for a match in the tree and return a node pointer
- Date: Tue, 13 Apr 2004 20:29:57 -0400
Zichao Mao wrote:
> Hi,
>
> I want to search for a match in the tree and return a node pointer. I
> don't know what functions to use in libxml2. Here's my code:
The xml way to do that is using an 'xpath' expression (http://www.w3c.org/TR/xpath).
An example of how to use xpath with libxml2 is http://xmlsoft.org/examples/index.html#XPath
Regards,
Stefan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]