use ;
use crate::;
/// Serialize a validated UPF document into an XML string.
///
/// The document is checked with [`UpfData::validate`] before serialization.
/// Serialize a validated UPF document into an arbitrary writer.
/// Serialize a validated UPF document to a filesystem path.