Hi Anant,
you can try ConfigurationElement::find method
configElement points to <config ... >
std::vector < ::fwRuntime::ConfigurationElement::sptr > tagIdElements =
configElement->find("tagID");
BOOST_FOREACH ( ::fwRuntime::ConfigurationElement::sptr tagId tagIdElements)
{
int val1= ::boost::lexical_cast<int>(
tagID->ggetAttributeValue("val1") );
// ...
}