Hi,
I am reading the source code of one research. And I think there is something wrong with getChildNodes() when I parse the source code.
For example, we have this tree
note
/ / \ \
to from heading body
| | | |
Tove Jani Reminder I forget
If the current node is note, the statement currNode.getChildNodes() should return nodes such as to, from, heading,... But what I get is note.
Am I wrong? May you explain it to me, please? I use Xerces.
Thank in advance.
Duc
I am reading the source code of one research. And I think there is something wrong with getChildNodes() when I parse the source code.
For example, we have this tree
note
/ / \ \
to from heading body
| | | |
Tove Jani Reminder I forget
If the current node is note, the statement currNode.getChildNodes() should return nodes such as to, from, heading,... But what I get is note.
Am I wrong? May you explain it to me, please? I use Xerces.
Thank in advance.
Duc