$dom->toString()
Returns the document markup as string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$normalize | bool |
false |
If set to true , the documentis exported with an XML declaration/ full HTML markup even if the input didn't have them |
Return type
string