I use an ejb that returns a dom4j tree that may not have certain nodes depending on the data in the database.
I'm using XPATH and it seems Node myNode = (Node) doc.selectSingleNode( "/some missing node" ) throws an NullPointerException. Is it possible to check for '/some missing node' ? Any example would be greatly appreciated! Thanks, Greg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user