1pub mod canonical;
8pub mod catalog;
9pub mod dtd;
10pub mod iterparse;
11pub mod relaxng;
12pub mod xinclude;
13pub mod charsets;
14pub mod encoding;
15pub mod entity_resolver;
16pub mod error;
17pub mod options;
18pub mod output;
19pub mod parser;
20pub mod serializer;
21pub mod stream_parser;
22pub mod streaming_reader;
23pub mod ns_helpers;
24pub mod reader;
25pub mod regex;
26pub mod selector;
27pub mod xml_bytes_reader;
28pub(crate) mod scanner;
29pub use scanner::compute_line_col;
33pub mod types;
34pub mod xpath;
35
36#[cfg(feature = "xsd")]
37pub mod xsd;
38
39#[cfg(feature = "html")]
40pub mod html;
41pub mod license_gate;
42
43pub use rust_decimal;
51
52pub use canonical::{C14nMode, CanonicalizeOptions};
53pub use catalog::{Catalog, discover_catalog_paths, load_default as load_default_catalog};
54pub use xinclude::{XIncludeOptions, XINCLUDE_NS};
55pub use entity_resolver::{
56 ChainedResolver, EntityResolver, FilesystemResolver, InMemoryResolver, ResolveError,
57};
58pub use error::{ErrorDomain, ErrorLevel, XmlError};
59pub use license_gate::verify_license;
60pub use options::ParseOptions;
61pub use parser::{
62 parse_bytes, parse_bytes_unchecked, parse_str,
63 parse_bytes_in_place,
64 parse_ns_str, parse_ns_bytes,
65 parse_str_with_recovered, parse_bytes_with_recovered,
66};
67pub use serializer::serialize_html_to_string;
68pub use serializer::{
69 serialize_formatted, serialize_to_bytes, serialize_to_string,
70 serialize_with, SerializeOptions,
71};
72pub use output::OutputCharset;
73pub use stream_parser::StreamParser;
74pub use streaming_reader::{XmlByteStreamReader, DEFAULT_BUFFER_SIZE, HUGE_BUFFER_SIZE};
75pub use reader::{Attr, Attrs, Event, EventInto, XmlReader, unescape};
76pub use selector::{ParseSelectorError, Selector};
77pub use xml_bytes_reader::{BytesAttr, BytesAttrs, BytesEvent, BytesEventInto, XmlBytesReader, XmlDeclInfo, resolve_uri, unescape_bytes};
78pub use types::XmlChar;
79pub use xpath::{parse_xpath, parse_xpath_with, XPathOptions, XPathValue};
80pub use xpath::XPathBindingsBuilder;
81pub use xpath::{
82 xpath_bool, xpath_count, xpath_eval, xpath_num,
83 xpath_str, xpath_strings, XPathContext,
84};