Trait sxd_document::parser::XmlParseExt
source · pub trait XmlParseExt<'a> {
fn consume_space(&self) -> Progress<StringPoint<'a>, &'a str, ()>;
fn consume_decimal_chars(&self) -> Progress<StringPoint<'a>, &'a str, ()>;
fn consume_ncname(&self) -> Progress<StringPoint<'a>, &'a str, ()>;
fn consume_prefixed_name(
&self
) -> Progress<StringPoint<'a>, PrefixedName<'a>, ()>;
}
Expand description
Common reusable XML parsing methods
Required Methods§
sourcefn consume_space(&self) -> Progress<StringPoint<'a>, &'a str, ()>
fn consume_space(&self) -> Progress<StringPoint<'a>, &'a str, ()>
Parse XML whitespace
sourcefn consume_decimal_chars(&self) -> Progress<StringPoint<'a>, &'a str, ()>
fn consume_decimal_chars(&self) -> Progress<StringPoint<'a>, &'a str, ()>
Parse XML decimal characters
sourcefn consume_ncname(&self) -> Progress<StringPoint<'a>, &'a str, ()>
fn consume_ncname(&self) -> Progress<StringPoint<'a>, &'a str, ()>
Parse an XML NCName
sourcefn consume_prefixed_name(
&self
) -> Progress<StringPoint<'a>, PrefixedName<'a>, ()>
fn consume_prefixed_name(
&self
) -> Progress<StringPoint<'a>, PrefixedName<'a>, ()>
Parse an XML prefixed name