differentiated the final XPath that obtains the value for res_details table based on whether it's attribute or not
the playground proof-of-concept I did for the final XPath differentiation I just commited in Ingestor