parser_element

Defined in header: <orcus/sax_parser_base.hpp>

struct parser_element

Element properties passed by sax_parser to its handler’s open_element() and close_element() calls.

Public Members

std::string_view ns

Optional element namespace. It may be empty if it’s not given.

std::string_view name

Element name.

std::ptrdiff_t begin_pos

Position of the opening brace ‘<’.

std::ptrdiff_t end_pos

Position immediately after the closing brace ‘>’.