write_xml()

Write <documents><document id=…>…</document>…</documents> to a path or stream.

Usage

Source

write_xml(
    docs,
    destination,
    **options,
)