[libxml++] Using SAX with XPath
- From: tikcireviva <tikcireviva yahoo com hk>
- To: libxmlplusplus-general lists sourceforge net
- Subject: [libxml++] Using SAX with XPath
- Date: Tue, 09 Aug 2005 19:51:08 +0800
Hi Everyone,
After going through a couple examples, I found that the XPath feature is
pretty handy. And I wonder why there is XPath example for DOM instead of
SAX? If libxml++ do support this feature, could you mind show me any
examples or a way to tackle this?
While playing with the XPath example, I have enountered some
difficulties in order to extract the value from "my-xpath". For
instance, let's say if I have the following xml-like input.
<title>A section</title>
And I have this XPath '/title', how can I get the 'A section' value from
a node? (A node/nodeset should be in this type 'xmlpp::NodeSet'
according to the example)
I know this is a really dumb question, and I am really hoping that you
guys could give me a helping hand. Thank you very much.
Best wishes,
-tikcireviva.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]