[xml] python xpath
- From: Jason Jesso <jesso1607 rogers com>
- To: xml gnome org
- Subject: [xml] python xpath
- Date: Tue, 13 Jul 2004 21:15:02 -0400
flight = self.ctxt.xpathEval( "table/tr/td/a/text()" )
print flight[0]
I am evaluating this xpath expression using python's libxml2.
How can I get the actual text data? When I print the result set I get text
node information, like the address and stuff.
This is probably a stupid question, but I can't seem to get it.
Thanks for any help.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]