Edwin Dankert
Tue, 12 Jun 2007 02:32:03 -0700
You could try the following:
String value = ((Element)test).element("value").attribute("key").getValue();
Regards,
Edwin
--
http://www.edankert.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user