Multilingual XML file type and multiple language root elements

Hi, is it possible to setup rules that extract content from several language root elements, i.e, can you use relative paths in the language mapping, if the language root element is the root of the whole xml file? E.g., can you use following type of xpaths in the language mapping settings:

//*[local-name()='short-description' and @xml:lang='de']|//*[local-name()='long-description' and @xml:lang='de']

I have not been able to get this working. And also noticed that if the language root element contains several child elements that do not have language attribute, the filter extracts content also from these elements.

I have been using the Studio 2021, do not have access to newwer versions.

Thanks

Jouni

emoji