Expand description
Contains high-level interface for a pull-based XML parser.
Modulesยง
- buffered_
reader ๐ - ns_
reader ๐A reader that manages namespace declarations found in the input and able to resolve qualified names to expanded names. - slice_
reader ๐This is an implementation ofReader
for reading from a&[u8]
as underlying byte stream. This implementation supports not using an intermediate buffer as the byte slice itself can be used to borrow from. - state ๐
Macrosยง
- read_
event_ ๐impl - read_
to_ ๐end Generalization ofread_to_end
method for buffered and borrowed readers - read_
until_ ๐close Read bytes up to the>
and skip it. This method is expected to be called after seeing the<
symbol and skipping it. Inspects the next (current) symbol and returns an appropriateEvent
:
Structsยง
- A direct stream to the underlying
Reader
s reader which updatesReader::buffer_position()
when read from it. - A struct that holds a parser configuration.
- A low level encoding-agnostic XML event reader that performs namespace resolution.
- A low level encoding-agnostic XML event reader.
Enumsยง
- Bang
Type ๐Possible elements started with<!
- Parse
State ๐Possible reader states. The state transition diagram (true
andfalse
shows value ofConfig::expand_empty_elements
option): - Read
Text ๐Result Result of an attempt to read XML textual data from the reader.
Traitsยง
- XmlSource ๐Represents an input for a reader that can return borrowed data.
Type Aliasesยง
- Range of input in bytes, that corresponds to some piece of XML