Hello everyone,
is there a way to count the number of items in Power Automate Desktop with xpath.
In my example I would like to know how many articles there are and then use this value for a loop.
<?xml version="1.0" encoding="ISO-8859-1"?>
<Messages>
<Message>
<MessageStandard>TESTXML</MessageStandard>
<MessageType>8</MessageType>
<Sender>Michael</Sender>
<IsTestMessage>N</IsTestMessage>
<Article>
<LineNumber>0001</LineNumber>
<ArticleDescription>Test-Article 1</ArticleDescription>
</Article>
<Article>
<LineNumber>0002</LineNumber>
<ArticleDescription>Test-Article 2</ArticleDescription>
</Article>
</Message>
</Messages>

I already try it with a xpath expression.
count(//Article)
Thank you and best Regards
Cartis