Skip to content

Commit 4f8918a

Browse files
authored
Merge pull request #101015 from MarcChasse/patch-1
fix XPath Example 6 to use the @ attribute selector
2 parents 394e36c + 97ef560 commit 4f8918a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/logic-apps/workflow-definition-language-functions-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5481,9 +5481,9 @@ In this example, suppose your `items` XML string also contains these attributes:
54815481
</produce>
54825482
```
54835483

5484-
This example passes in the XPath expression, `'//name[price>35]'`, to find all the `name` elements that have `price > 35`:
5484+
This example passes in the XPath expression, `'//name[@price>35]'`, to find all the `name` elements that have `price > 35`:
54855485

5486-
`xpath(xml(parameters('items')), '//name[price>35]')`
5486+
`xpath(xml(parameters('items')), '//name[@price>35]')`
54875487

54885488
Here's the result: `Honeycrisp`
54895489

0 commit comments

Comments
 (0)