Skip to main content

element_xml

Function element_xml 

Source
pub fn element_xml(
    docx: &[u8],
    part: &str,
    at: &Path,
    limits: &EditLimits,
) -> Result<String, EditError>
Expand description

The XML of the element at at of the part part of the DOCX file docx: the bytes of its span, as the part holds them, which a raw edit can take as its expect.

ยงErrors

Returns the fault, with no index: a file that does not open, a part that it does not hold or that is not XML in UTF-8, or a path that names no element.