PATH:
home
/
lab2454c
/
keebchat.com
/
core
/
libs
/
htmlParser
/
manual
/
docs
/
manual
--- title: Saving DOM objects --- # Functional ```php // Dumps the internal DOM tree back into string $str = $html; // Print it! echo $html; ``` # Object Oriented ```php // Dumps the internal DOM tree back into string $str = $html->save(); // Dumps the internal DOM tree back into a file $html->save('result.htm'); ```
[+]
..
[-] customizing-parsing-behavior.md
[edit]
[-] creating-dom-objects.md
[edit]
[-] adding-nodes.md
[edit]
[-] traversing-dom-tree.md
[edit]
[-] finding-html-elements.md
[edit]
[-] saving-dom-objects.md
[edit]
[-] accessing-element-attributes.md
[edit]