I need to split each transaction and insert to table as XML.
Here is the sample XML.
<Universal>
<Batch>
<Number>123</Number>
</Batch
<TransactionBatch>
<Trasaction>
<Id>1</Id>
<Value>100</Value>
</Trasaction>
<Trasaction>
<Id>2</Id>
<Value>200</Value>
</Trasaction>
</TransactionBatch>
</Universal>
My Current Formula (it has namespace but I did not include in the sample XML)
xpath(xml(outputs('Compose_2')),'string(/*[local-name()="Universal"]/*[local-name()="TransactionBatch"]/*[local-name()="Trasaction"])')
Current Output: 11002200
Expected Output should be:
1st row
<Trasaction><Id>1</Id><Value>100</Value></Trasaction>
2nd row
<Trasaction><Id>2</Id><Value>200</Value></Trasaction>

Report
All responses (
Answers (