pub fn new() -> ParserConfig {
        ParserConfig {
            trim_whitespace: false,
            whitespace_to_characters: false,
            cdata_to_characters: false,
            ignore_comments: true,
            coalesce_characters: true,
            extra_entities: HashMap::new(),
            ignore_end_of_stream: false,
            replace_unknown_entity_references: false,
            ignore_root_level_whitespace: true,
        }
    }
/// Returns a new config with default values.
///
/// You can tweak default values using builder-like pattern:
///
/// ```rust
/// use xml::reader::ParserConfig;
///
/// let config = ParserConfig::new()
///     .trim_whitespace(true)
///     .ignore_comments(true)
///     .coalesce_characters(false);
/// ```
Returns a new config with default values.
You can tweak default values using builder-like pattern.




Returns a new config with default values . You can tweak default values using builder - like pattern .
pub fn new() -> ParserConfig {
        ParserConfig {
            trim_whitespace: false,
            whitespace_to_characters: false,
            cdata_to_characters: false,
            ignore_comments: true,
            coalesce_characters: true,
            extra_entities: HashMap::new(),
            ignore_end_of_stream: false,
            replace_unknown_entity_references: false,
            ignore_root_level_whitespace: true,
        }
    }
pub fn new ( ) -> ParserConfig { ParserConfig { trim_whitespace : false , whitespace_to_characters : false , cdata_to_characters : false , ignore_comments : true , coalesce_characters : true , extra_entities : HashMap :: new ( ) , ignore_end_of_stream : false , replace_unknown_entity_references : false , ignore_root_level_whitespace : true , } }
Returns a new config with default values.
Returns a new config with default values .