I am using jdom (to parse xml) and jaxen for using xpath expressions to query my xml file.
So if i have for example a complex conditional to bring back the order element:
Where JusticelinkOrderType attribute is CRMORD0455 or CRMORD0102 and
ConcurrentCumulativeType attribute is not Cumulative and
NoOfHours attribute is null or 0
Is this a good standard of coding for bringing back my expected result or not? I am just wondering every time i create a new instance of xpath to query the jdom object model will this reduce the efficiency of my application?