-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
xmlArray::path
Description
Finds any elements that match the path specified.
Syntax
void xmlArray::path (string $path[, bool $return_full])
Parameter $path
Expected type: String
Description: A path
Parameter $return_full
Expected type: Boolean
Description: Whether or not to return a full result set even if there's only one element
Notes
- Will always return a set if there is more than one of the element or return_full is true.
- Returns in the form of a new xmlArray.
- Example: $element = $xml->path('html/body');
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search