xml_token_attr_t

Defined in header: <orcus/types.hpp>

struct xml_token_attr_t

Struct containing properties of a tokenized XML attribute.

Public Functions

xml_token_attr_t()
xml_token_attr_t(const xml_token_attr_t &other)
xml_token_attr_t(xmlns_id_t _ns, xml_token_t _name, std::string_view _value, bool _transient)
xml_token_attr_t(xmlns_id_t _ns, xml_token_t _name, std::string_view _raw_name, std::string_view _value, bool _transient)
xml_token_attr_t &operator=(const xml_token_attr_t &other)

Public Members

xmlns_id_t ns
xml_token_t name
std::string_view raw_name
std::string_view value
bool transient

Whether or not the attribute value is transient. A transient value is only guaranteed to be valid until the end of the start_element call, after which its validity is not guaranteed. A non-transient value is guaranteed to be valid during the life cycle of the xml stream it belongs to.