If you have data elements with the same name in a source type, you can use the XPATH function local-name() to iterate over all these data elements.
Example:
//*[contains(local-name(),'XYC')]
Returns a list of all elements with XYZ in the name.
//ARTICLE[@ProductClass!= 'n.a.']/*[contains( name(), 'Care')]
Returns a list of all elements that contain “Care”. (e.g.: “Care1…5”) and are below ARTICLE whose ProductClass does not contain “n.a.”.