Skip to content

Commit

Permalink
Docs update
Browse files Browse the repository at this point in the history
Co-authored-by: Sam C <[email protected]>
  • Loading branch information
bmckay959 and Sammyjo20 authored Nov 6, 2023
1 parent 4935591 commit fec0e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $reader->xpathValue('//food[@bestSeller="true"]/name')->get(); // ['Belgian Waff
$reader->element('food.0')->sole()->getAttributes(); // ['soldOut' => false, 'bestSeller' => true]

// Use getContent() to get the contents of the elements
$reader->element('breakfast_menu.food')->getContent(); // ['name' => 'Belgian Waffles', 'price' => '$5.95', ...]
$reader->element('food.0')->sole()->getContent(); // ['name' => 'Belgian Waffles', 'price' => '$5.95', ...]
```

## Writing XML
Expand Down

0 comments on commit fec0e8e

Please sign in to comment.