[xml] Xpath question
- From: "Yong Chen (yongche)" <chen cisco com>
- To: <xml gnome org>
- Subject: [xml] Xpath question
- Date: Mon, 2 Jun 2008 18:20:07 -0700
Got a question regarding xpath usage in libxml2.
If I have a document doc, which contains some nodes, say n1, n2, n3.
Now I have an xpath as: "/bookstore/book/title"
Do we have any api that can evaluate node "n1" and tell me that if we
were to apply this xpath string to the document, then n1 would be
selected (or not).
Basically I want to evaluate an xpath on node basis, not the full
] [Thread Prev