Skip to main content

get_body_node

Function get_body_node 

Source
pub fn get_body_node(
    root_nodes: &[XmlNodeChild],
) -> Result<&XmlNode, DomXmlParseError>
Expand description

Find the one and only <body> node, return error if there is no app node or there are multiple app nodes

ยงErrors

Returns an error if the document has no <body> node.