Hello, I am new to xpath and have the following issues.
I am inputting XML with the the following excerpt:
<ItemOut requisitionID="3761071" lineNumber="1" quantity="1">
<ItemID>
<SupplierPartID>BNPMARKETING003</SupplierPartID>
</ItemID>
</ItemOut>
<ItemOut requisitionID="3761072" lineNumber="2" quantity="1">
<ItemID>
<SupplierPartID>BNPMARKETING005</SupplierPartID>
</ItemID>
</ItemOut>
I am using xpath to put out the values of node through out with the follow style:
xpath(
xml(outputs('Input_Xml')),
'string(//ItemCode)'
)
I use string as the outputs are always [ ] if I dont.
Now, as the number of ItemOut nodes are unknow each time I wanted to loop the following:
var =
xpath(
Adding the variable now makes the expression invalid.