@ende/xml/parse-records

ende add jsr:@ende/xml

Version 2026.10.15 on JSR.

Async-generator adapter that turns an XML chunk source into a stream of application-defined records assembled inside SAX-style event callbacks.

Exports

  • parseXmlRecords — Parses an async iterable of XML chunks and yields records assembled inside SAX-style event callbacks.
  • parseXmlRecordsFromBytes — Parses an async iterable of XML byte chunks and yields records assembled inside SAX-style event callbacks.