List list = node.selectNodes("//A");
Iterator it = list.iterator();
while (it.hasNext()) {
  Node node = (Node) it.next();

node.getName() returns 'file:/C:/work/project/fk/conv/test/input/test.xml'
node.getNodeTypeName() returns 'Document'
node.getPath() returns '/'


I just don't understand this. Why don't I get 'Element' calling getNodeTypeName() here?
The real problem is that I can't reach the subelements if I select an element (node) using this approach.
Is it a bug?


BR.

--
Barnabas Davoti
Information Architect
empolis Scandinavia
phone:  +47 2414-7976
mobile: +47 4161-8058



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to