Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalisk committed Dec 17, 2013
1 parent b062bfb commit 29abe85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ auto black_bird = doc | child("bird") |
where( child("appearance") | attribute("color", "black") ) |
child("name") | text;
```
You may now iterate through the results:
```c++
for(std::string name: black_birds)
cout << name << "is a black bird\n";
```

Some Advantages
---------------
Expand Down

0 comments on commit 29abe85

Please sign in to comment.