Hi all,

I'd have two generall questions about using dom4j.

Firstly, is it possible not just to search for elements using XPath 
expressions, but also to output the XPath for the current element? According to 
what I read already it should be possible, but I just want to verify this.

Secondly, is it possible to navigate inside a DOM (when initializing a DOM 
reader) like someone could do in an ordinary implementation like org.w3c.dom?
So is there a chance to access elements by their name only (getElementById)? I 
think this is not really a problem since it could also be solved by using XPath 
expression, but can I reach the child elements of the current element? For e.g. 
getLastChild()?

thanks for your help!

hth

Tom
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to