Skip to main content

is_valid

Function is_valid 

Source
pub fn is_valid(doc: &Document, dtd: &Dtd) -> bool
Expand description

Convenience for the common “did it validate?” yes/no question. Equivalent to validate(doc, dtd).is_ok().