Here is the example XML and let's say I want to extract the data "DEF". Any idea how to extract by combining node and attribute value i.e. Node should be "Container" and attribute value should be "2" ? I am new to JDOM and XML parsing. Please give your suggestions.
<?xml version="1.0"?>
<Product>
<Property>
<Container value="1">ABC</Container>
<Container value="2">DEF</Container>
<Container value="3">GHI</Container>
</Property>
</Product>