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, string|void default_namespace)

Description

Takes an XML string and produces a node tree.

Parameter data

String to parse.

Parameter no_fallback

Equivalent to the flag bit PARSE_WANT_ERROR_CONTEXT.

Parameter force_lowercase

Equivalent to the flag bit PARSE_FORCE_LOWERCASE.

Parameter parse_namespaces

Equivalent to the flag bit PARSE_ENABLE_NAMESPACES.

Parameter predefined_entities
Parameter flags
Parameter default_namespace

The other arguments are passed along to RootNode()->create().

See also

parse_file()