How to flatten XML document using azure dataflows allowing for schema drift?
I have a simple XML document looking like the below. However the tags within "Point" can change and other tags can added in the future.
I need to unfold/flatten the file at "Point".
I have tried numerous of things included tryind to derived "Point" as a column like this:
byItem(byName('ns0:HistoricalActivation_MarketDocument'),"ns0:Point")
]2
And I have also tried to unfold it directly using this:
![215367-image.png][3]
Niether works. Any suggestions?
XLM file example
<ns0:HistoricalActivation_MarketDocument xmlns:ns0="urn:iec62325.351:tc57wg16:451-7:historicalactivationdocument:6:0" xmlns:cl="urn:entsoe.eu:wgedi:codelists">
<ns0:Point>
<ns0:position>1</ns0:position>
<ns0:quantity>0</ns0:quantity>
</ns0:Point>
<ns0:Point>
<ns0:position>2</ns0:position>
<ns0:quantity>0</ns0:quantity>
</ns0:Point>
</ns0:HistoricalActivation_MarketDocument>