[xml] Xpath question
- From: "Yong Chen \(yongche\)" <chen cisco com>
- To: <xml gnome org>
- Subject: [xml] Xpath question
- Date: Wed, 25 Apr 2007 16:32:36 -0700
Hi,
Say I have an xml tree:
A
B C
D E
Basically A being the root, containing B and C as its children, B
contains D and E as its children.
Now say I have xpath "/A/B", it selects node "B". When I return the
result, should I return B node only, or I should return B and also its
child (D and E)?
I can't find clear answer in spec.
Thanks in advance,
Yong Chen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]