XML File in Azure Data factory with different name spaces
Hi,
I have several different XML files like below which have different Namespaces in the XML files.
I have created a Dataflow in ADF, but when I check in the Source, Tab projection, and I Import the projection, you will see 2 different columns names: http://www.example.nl/2021/01 and http://www.example.nl/2022/02.
When I create a dataflow with 1 XML as a source, for example with namespace: http://www.example.nl/2021/01, everything works fine, but when I read the XML file with Namespace http://www.example.nl/2022/02 and http://www.example.nl/2021/01 it will show all the data fore http://www.example.nl/2021/01 but for http://www.example.nl/2022/02 it will show no data ( NULL).
Is there a way to avoid or solve this so I can read the XML files with a dataflow?
File 1
<?xml version="1.0" encoding="UTF-8"?>
<ns0: Claim xmlns:ns0="http://www.example.nl/2021/01">
<ns0:response>
………
</ns0:response>
</ns0: Claim>
File 2
<?xml version="1.0" encoding="UTF-8"?>
<ns0: Claim xmlns:ns0="http://www.example.nl/2022/02">
<ns0:response>
………
</ns0:response>
</ns0: Claim>
Thanks in advance..