View Source yaccety_sax_simple (yaccety_sax v0.2.3)
Link to this section Summary
Link to this section Types
Specs
ext_parser_state() :: #ys_state_simple{}.
Specs
qname() :: PrefixLocalPart :: binary().
Specs
xml_attribute() :: {Name :: qname(), Value :: binary()}.
Specs
xml_characters() :: {characters, Data :: binary()}.
Specs
xml_endDocument() :: endDocument.
Specs
xml_endElement() :: {endElement, QName :: qname()}.
Specs
xml_event() :: xml_characters() | xml_endDocument() | xml_endElement() | xml_startDocument() | xml_startElement().
Specs
xml_startDocument() :: {startDocument, Version :: binary(), Encoding :: binary()}.
Specs
xml_startElement() :: {startElement, QName :: qname(), AttributesNamespaces :: [xml_attribute()]}.
Link to this section Functions
Specs
next_event(State) -> {Event, State} when State :: ext_parser_state(), Event :: xml_event().