TextToDOM
It converts a text into DOM-document.
Parameters:
| Name | Type, value | Description |
|---|---|---|
| useEntities | Boolean: true, false; default true | To convert Cyrillic into HTML-entities before creating a document or not |
| name | String, default dom | The name of the variable for result |
Example:
Set html <html><body><p>paragraph1</p><p>paragraph2</p></body></html> # Convert HTML-string into DOM-object Filter TextToDOM html WithParams name=dom # search for "p" tags Filter SearchInDOM dom WithParams path=//p name=p Dump p
Result:
p => <p>paragraph1</p> p => <p>paragraph2</p>
| StripTags | Standart Filters | UrlGetParam |

