generated from Sammyjo20/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be really cool if you could use the search/reader methods on the base Element class that comes from the reader.
$reader = XmlReader::fromString(...);
$element = $reader->element('food.2')->sole();
$element->element('name')->sole();
$element->value('name')->sole();
$element->xpathElement('//name')->sole();
$element->xpathValue('//name')->sole();I've started implementing this as a proof-of-concept.
RedLionHeart, AustinW, msoares94, olivM, SanderMuller and 1 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request