One more thing, the NullPointerException is not caused
by a JaxenException being thrown from inside the
getXmlElementUsingXPath() method that I defind. 
Because the catch block is not called when I run the
code.

>     catch (JaxenException e)
>     {
>         System.err.println("Trouble with Jaxen...");
>         e.printStackTrace();
> 
>         return null;
>     }


It is still being caused by the selectSingleNode()
method returning a null value, when applying the xpath
on the xml document.

Any help is very much appreciated.

Thanks.




**********************************************************
* Saladin Sharif
* e-mail:  [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~sharifs
**********************************************************


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

-------------------------------------------------------------------------
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