@omnist-dev/omnist
    Preparing search index...

    Interface ReadXmlOptions

    Options for parsing XML text into a Document node.

    interface ReadXmlOptions {
        report?: WriteReport;
        schema?: Schema;
    }
    Index
    report?: WriteReport

    Optional WriteReport accumulator to collect read-time codec diagnostics into (issue #123/D-3): format.attribute-dropped and format.namespace-dropped, one per element an attribute or a namespace prefix was discarded from. Reused from write.ts's WriteReport rather than a parallel "ReadReport" type -- both are the same shape (path/code/message/severity), and this is the only reader in the port that has anything to report yet.

    schema?: Schema

    Optional Schema for schema-directed materialization (spec §4).