-
Notifications
You must be signed in to change notification settings - Fork 20
Nodes Document
Thomas Weinert edited this page Jul 12, 2018
·
3 revisions
The FluentDOM\Nodes::$document
property provides access to the associated
DOMDocument
. By default this will be a FluentDOM\DOM\Document
instance, but it
depends on how you created the FluentDOM\Nodes
instance.
$fd = new FluentDOM\Nodes();
$fd->document->appendChild(
$fd->document->createElement('example')
);
echo $fd;
Output:
<?xml version="1.0" encoding="UTF-8"?>
<example/>
- 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