Skip to content

Commit

Permalink
Reorder XML code segment
Browse files Browse the repository at this point in the history
  • Loading branch information
pubudu91 committed Mar 20, 2020
1 parent 2bd83db commit beb5294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release-notes-1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ xml x = xml `<root>
</person>
</root>`;
// Select all children items of `x`.
xml allChildren = x/*;
// Select all children items, which are XML elements.
xml allElementChildren = x/<*>;
Expand All @@ -69,6 +66,9 @@ xml fnameItems = x/<person>/<name>/<fname>;
// Select all descendants, which match element name `fname`.
xml fnameDescendents = x/**/<fname>;
// Select all children items of `x`.
xml allChildren = x/*;
```

XML filter expression allows filtering an XML sequence by an element name.
Expand Down

0 comments on commit beb5294

Please sign in to comment.