|
|
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Cleans html markup according to doc type settings and optionally webrichtlijnen.
Syntax
| Smartsite SXML |
|
|---|---|
string standardscompliance.cleanhtml(string html, enum docType, enum scope, boolean webRichtlijnen) |
|
Parameters
| Name | Data Type | Description |
|---|---|---|
| html | String | The html document to tidy. |
| docType | Enum |
The doc type to use.
Enum values:
|
| scope | Enum |
The part of the document ot be returned.
Enum values:
|
| webRichtlijnen | Boolean | Attempt to conform to 'webrichtlijnen'. |
Return Value
| Data Type | Description |
|---|---|
| String | Cleaned up html. |