Expand description
Lightweight ADF-XML parsing and writing.
The crate exposes a domain model for ADF 1.0 while retaining the original input for byte-for-byte output when a document has not been rewritten.
Structs§
- Address
- Adf
- AdfDocument
- Attribute
- Color
Combination - Contact
- Customer
- Finance
- Id
- Name
- Parse
Options - Options controlling how strictly [
parse_with] treats the input. - Price
- Prospect
- Provider
- Span
- Text
Element - Timeframe
- Validation
Issue - Validation
Options - Validation
Report - Vehicle
- Vehicle
Option - Vendor
- XmlElement
Enums§
Constants§
- DEFAULT_
MAX_ DOCTYPE_ LEN - Default ceiling, in bytes, on the length of a
<!DOCTYPE …>declaration’s internal subset. Legitimate ADF documents rarely carry a DTD at all; the cap keeps entity-definition payloads bounded while leaving room for a small internal subset.
Functions§
- parse
- Parse an ADF-XML document with the default
ParseOptions. - parse_
with - Parse an ADF-XML document with explicit
ParseOptions. - validate
- validate_
with