XmlParser

Does not allocate (except for exceptions). No XML nesting state. Does not check for premature stream end, paired tags, etc.

INPUT is an input range which needs to support the following additional properties: .ptr - returns a type usable with ptrSlice (used to save the position in INPUT, then later take a slice from that position until an end position). WARNING: Using a narrow D string type for INPUT will result in wasteful UTF decoding (due to std.array.front returning a dchar).

OUTPUT accepts strings with the XML entities still encoded, to allow for lazy decoding.

Members

Aliases

C
alias C = typeof(input.front)
Undocumented in source.
U
alias U = std.traits.Unqual!C
Undocumented in source.

Functions

run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

input
INPUT input;
Undocumented in source.
output
OUTPUT output;
Undocumented in source.

Meta