apply

Function apply 

Source
pub fn apply(diff_xml: &str) -> Result<String, Error>
Expand description

Given a diff document, apply it.

This returns the XML for the document that results from applying the diff.

This is a low-level API to support the CLI you don’t normally need to use. If you want to verify that a diff document is correct, use NaturalXmlDiff::verify instead.