ocrd_models.utils module

Utilities for ocrd_models

ocrd_models.utils.xmllint_format(xml)[source]

Pretty-print XML like xmllint does.

Parameters:xml (string) – Serialized XML