Zum Inhalt springen

XPath in Power Automate – diagrams

Visual examples available via GitHub Pages XPath in Power Automate – diagrams illustrate xpath transformation in Power Automate, focusing on syntax, node targeting, and transformation logic.

They are based on the concepts introduced in the original post XPath in Power Automate.

Display XML Nodes

When processing structured content in Power Automate, combining the Select action with xpath expressions provides a performant and scalable way to extract and reshape data.

The Display XML Nodes page demonstrates three different ways of displaying results of xpath queries. Usage of Apply to each and Create HTML table is purely for demonstration purposes.

Whenever possible, use Select actions, as they have a number of advantages when compared with Apply to each. They are much faster, especially when processing large volume of data, and reduce complexity in flow design.

Select nodes

„Select nodes“ examples present results of xpath transformations using Apply to each action, with Compose using simple xml(item()).

Typically, the results of xpath transformations would be provided as a source for Select action, to aggregate necessary information

Select: nodes information, attributes, transformations

These examples are using Select actions. Nodes selected using xpath (From property) are further transformed using xpath expressions for each returned node.

GitHub Pages: XPath in Power Automate – diagrams

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert