new Dom()
Class constructor
new Dom(string $code, string $type = 'HTML')
Parameters
Name | Type | Default | Description |
---|---|---|---|
$coderequired | string |
no default value | XML or HTML original input code |
$type | string |
'HTML'
|
Document type ('HTML' or 'XML' ) |