-
Notifications
You must be signed in to change notification settings - Fork 20
Nodes Xpath
Thomas Weinert edited this page Jul 30, 2014
·
2 revisions
The FluentDOM\Nodes::$xpath
provides an FluentDOM\Xpath instance attached to the node
list. Namespaces registered on the Nodes instance will be registered on the Xpath instance, too.
If the internal dom document changes, because of a loading action, the Xpath instance will be recreated automatically.
$fd = new FluentDOM\Nodes(
'<message>Hello World!</message>'
);
echo $fd->xpath->evaluate('string(//message)');
Hello World!
- Home
- Getting Started
- Tasks
- Plugins
- Functions
- Lists
- Creator (5.1)
- CSS Selectors
- Convertors
- Loaders
- Serializers (5.1)
- Transformers (5.1)
- Extended DOM
- XMLReader (6.1)
- XMLWriter (6.1)
- Interfaces