commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jasmina Desai <>
Subject Test null properties in JXPATH
Date Thu, 17 Jan 2008 18:40:07 GMT

I have several objects of an objectwhich I need to
filter using JXPATH by checking a particular property
in that object.

I want to get only those instances which have avalid
value of a property. The property could be null also.

In such a case how should my xpath look like to filter
out only those instances which have 
property != null. 

For eg: object/property != null

How to check for null properties in objects using

Thanks in advance!

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message