From: "Tom Oehser" <[EMAIL PROTECTED]>
> What is the best workaround to select?  I can hardcode the "Id".

Right now dom4j looks for attributes called "ID".

You could always create your own Element derivation, overriding the 

    String elementID(Element)

method to extract the ID in whatever manner you wish.


> Is there an xpath expression or something that is the best performing
> way to pick out a node by an "Id"?

//foo[@Id='something']

James

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.comm


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to