# Method Parser.XML.Tree.parse_input()

Method parse_input

  ``RootNode` parse_input(`string` `data`, `void`|`bool` `no_fallback`, `void`|`bool` `force_lowercase`, `void`|`mapping`(`string`:`string`) `predefined_entities`, `void`|`bool` `parse_namespaces`, `ParseFlags`|`void` `flags`)`

Description

  Takes an XML string and produces a node tree.

Note

  `flags` is not used for `PARSE_WANT_ERROR_CONTEXT`, `PARSE_FORCE_LOWERCASE` or `PARSE_ENABLE_NAMESPACES` since they are covered by the separate flag arguments.